]> 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)
commit31415b4fda5de0d17766b5b4fb4325b549328e55
treedb352ee0248e136d20881426a1eed5834717b5f4
parenta26d44d37ff54e1de9ad87c847dc2f3f3aa82f3c
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