Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal: int340x: fix sparse warning

this patch fixes following sparse warning:

processor_thermal_device.c:188:6: warning: symbol 'proc_thermal_remove' was not declared. Should it be static?

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>

authored by

Lad, Prabhakar and committed by
Zhang Rui
4aa971bb 8cb68501

+1 -1
+1 -1
drivers/thermal/int340x_thermal/processor_thermal_device.c
··· 274 274 return ret; 275 275 } 276 276 277 - void proc_thermal_remove(struct proc_thermal_device *proc_priv) 277 + static void proc_thermal_remove(struct proc_thermal_device *proc_priv) 278 278 { 279 279 int340x_thermal_zone_remove(proc_priv->int340x_zone); 280 280 sysfs_remove_group(&proc_priv->dev->kobj,