[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1503168458-17676-1-git-send-email-arvind.yadav.cs@gmail.com>
Date: Sun, 20 Aug 2017 00:17:35 +0530
From: Arvind Yadav <arvind.yadav.cs@...il.com>
To: jic23@...nel.org, knaack.h@....de, lars@...afoo.de,
pmeerw@...erw.net
Cc: linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org
Subject: [PATCH 0/3] constify iio i2c_device_id
i2c_device_id are not supposed to change at runtime. All functions
working with i2c_device_id provided by <linux/i2c.h> work with
const i2c_device_id. So mark the non-const structs as const.
Arvind Yadav (3):
[PATCH 1/3] iio: accel: bma180: constify i2c_device_id
[PATCH 2/3] iio: light: apds9300: constify i2c_device_id
[PATCH 3/3] iio: light: tsl2583: constify i2c_device_id
drivers/iio/accel/bma180.c | 2 +-
drivers/iio/light/apds9300.c | 2 +-
drivers/iio/light/tsl2583.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--
2.7.4
Powered by blists - more mailing lists