summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/scpi-hwmon.c
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-07-17 18:25:10 +0200
committerGuenter Roeck <linux@roeck-us.net>2017-08-13 17:24:38 +0200
commit4d3f24142c62ff9cee01c3ef532b9a658d184304 (patch)
tree5e6c1da007abc68d6fd76a4a6e2315f3c582a33f /drivers/hwmon/scpi-hwmon.c
parenthwmon: (ads1015) Convert to using %pOF instead of full_name (diff)
downloadlinux-4d3f24142c62ff9cee01c3ef532b9a658d184304.tar.xz
linux-4d3f24142c62ff9cee01c3ef532b9a658d184304.zip
hwmon: (i5k_amb) constify pci_device_id
pci_device_id are not supposed to change at runtime. All functions working with pci_device_id provided by <linux/pci.h> work with const pci_device_id. So mark the non-const structs as const. File size before: text data bss dec hex filename 3562 320 8 3890 f32 drivers/hwmon/i5k_amb.o File size After adding 'const': text data bss dec hex filename 3658 224 8 3890 f32 drivers/hwmon/i5k_amb.o Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/scpi-hwmon.c')
0 files changed, 0 insertions, 0 deletions