diff options
author | 2017-08-21 22:13:26 +0530 | |
---|---|---|
committer | 2017-08-28 16:55:49 +0200 | |
commit | b8dbb5024b5e62704caac6915f0f5f33448b8b05 (patch) | |
tree | 96b41d28b2ff05e0723428f37cb1263823ae5074 /drivers/misc/apds9802als.c | |
parent | misc: isl29020: constify i2c_device_id (diff) | |
download | linux-dev-b8dbb5024b5e62704caac6915f0f5f33448b8b05.tar.xz linux-dev-b8dbb5024b5e62704caac6915f0f5f33448b8b05.zip |
misc: hmc6352: constify 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.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/apds9802als.c')
0 files changed, 0 insertions, 0 deletions