hwmon: (pwm-fan) Declare pwm_fan_of_get_cooling_data static
authorGuenter Roeck <linux@roeck-us.net>
Wed, 4 Mar 2015 17:51:05 +0000 (09:51 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 9 Mar 2015 16:59:36 +0000 (09:59 -0700)
commitde52b049d6d5af635d628d17fcb466d53a9617af
tree5c5ced8cb36b5a5651907adafe76efdc55235b82
parentb5cf88e46badea6d600d8515edea23814e03444d
hwmon: (pwm-fan) Declare pwm_fan_of_get_cooling_data static

Address the following sparse warnings.

drivers/hwmon/pwm-fan.c:176:5: warning:
symbol 'pwm_fan_of_get_cooling_data' was not declared. Should it be static?
drivers/hwmon/pwm-fan.c:176:5: warning:
no previous prototype for 'pwm_fan_of_get_cooling_data'

pwm_fan_of_get_cooling_data is only used in the pwm-fan driver and thus should
be declared static.

Cc: Lukasz Majewski <l.majewski@samsung.com>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/pwm-fan.c