summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/sparx5-temp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hwmon: (sparx5) Make symbol 's5_temp_match' staticWei Yongjun2020-07-241-1/+1
| | | | | | | | | | | | | | | | The sparse tool complains as follows: drivers/hwmon/sparx5-temp.c:150:27: warning: symbol 's5_temp_match' was not declared. Should it be static? This variable is not used outside of sparx5-temp.c, this commit marks it static. Fixes: c2cb4b5777e1 ("hwmon: sparx5: Add Sparx5 SoC temperature driver") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20200721134919.34033-1-weiyongjun1@huawei.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
* hwmon: sparx5: Add Sparx5 SoC temperature driverLars Povlsen2020-07-241-0/+168
This patch adds a temperature sensor driver to the Sparx5 SoC. Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20200618135951.25441-4-lars.povlsen@microchip.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>