i2c-cht-wc: constify platform_device_id
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 28 Nov 2017 10:25:07 +0000 (15:55 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 7 Dec 2017 11:00:35 +0000 (12:00 +0100)
commit04271ce9601f1686db480ea11ea1848394d9e6a2
tree3661b428dc923056346a683c608d63c630106254
parentae64f9bd1d3621b5e60d7363bc20afb46aede215
i2c-cht-wc: 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>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-cht-wc.c