]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (k10temp) Make function get_raw_temp static
authorColin Ian King <colin.king@canonical.com>
Fri, 1 Jun 2018 13:37:13 +0000 (14:37 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 1 Jun 2018 15:56:35 +0000 (08:56 -0700)
commit4c1a4f7415d41407dee77334a14a29775803ac7f
treedb352ee0248e136d20881426a1eed5834717b5f4
parent15bb748d9f96928615dda45c33b3b43cdb8582cd
hwmon: (k10temp) Make function get_raw_temp static

The function get_raw_temp is local to the source and does not need to
be in global scope, so make it static.

Cleans up sparse warning:
drivers/hwmon/k10temp.c:149:14: warning: symbol 'get_raw_temp' was not
declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c