Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4aa971bb authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Zhang Rui
Browse files

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: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
parent 8cb68501
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ static int proc_thermal_add(struct device *dev,
	return ret;
}

void proc_thermal_remove(struct proc_thermal_device *proc_priv)
static void proc_thermal_remove(struct proc_thermal_device *proc_priv)
{
	int340x_thermal_zone_remove(proc_priv->int340x_zone);
	sysfs_remove_group(&proc_priv->dev->kobj,