hwmon: (mc13783-adc) Increase size of name string
authorGuenter Roeck <linux@roeck-us.net>
Fri, 13 Sep 2013 17:25:53 +0000 (10:25 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 13 Oct 2013 23:16:26 +0000 (16:16 -0700)
commitae02e7418ffa2ba5d927869ef9eab4c87549d8e9
treed49ba6edb6298e79f4230b04bb1dcf0bae0e5af1
parent45a5b3a183b43e07b7d1eaf1ef7c00fc87511b1b
hwmon: (mc13783-adc) Increase size of name string

smatch complains about

mc13783_adc_probe() error: snprintf() chops off the last chars of
'id->name': 20 +vs 10

Use PLATFORM_NAME_SIZE instead of '10' as size when declaring
the name variable.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/mc13783-adc.c