[PATCH] hwmon: (k10temp) Make function get_raw_temp static

2018-06-01 Thread Colin King
From: Colin Ian King 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 --- d

Re: [PATCH] hwmon: (k10temp) Make function get_raw_temp static

2018-06-01 Thread Guenter Roeck
On Fri, Jun 01, 2018 at 02:37:13PM +0100, Colin King wrote: > From: Colin Ian King > > 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