HID: sensor: constify platform_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Sun, 13 Aug 2017 09:45:32 +0000 (15:15 +0530)
committerJiri Kosina <jkosina@suse.cz>
Tue, 15 Aug 2017 09:01:14 +0000 (11:01 +0200)
commit0be2bfdc2307bfe49d7dae5a18f021affc1276b7
treef488fe688fef1a8114d80cdf72c91dc832f933c8
parentb0f847e16c1ea6ead5680cf58cade70918363315
HID: sensor: constify platform_device_id

platform_device_id are not supposed to change at runtime. All functions
working with platform_device_id provided by <linux/platform_device.h>
work with const platform_device_id. So mark the non-const structs as
const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sensor-custom.c