Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752042AbdHSS2c (ORCPT ); Sat, 19 Aug 2017 14:28:32 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:33267 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750812AbdHSS2a (ORCPT ); Sat, 19 Aug 2017 14:28:30 -0400 From: Arvind Yadav To: airlied@linux.ie, linux@armlinux.org.uk Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 0/3] constify drm i2c_device_id Date: Sat, 19 Aug 2017 23:58:17 +0530 Message-Id: <1503167300-17334-1-git-send-email-arvind.yadav.cs@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 564 Lines: 16 i2c_device_id are not supposed to change at runtime. All functions working with i2c_device_id provided by work with const i2c_device_id. So mark the non-const structs as const. Arvind Yadav (3): [PATCH 1/3] drm: i2c: ch7006: constify i2c_device_id [PATCH 2/3] drm: i2c: sil164: constify i2c_device_id [PATCH 3/3] drm: i2c: tda998x: constify i2c_device_id drivers/gpu/drm/i2c/ch7006_drv.c | 2 +- drivers/gpu/drm/i2c/sil164_drv.c | 2 +- drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) -- 2.7.4