diff options
author | Eduardo Valentin <edubezval@gmail.com> | 2015-04-07 22:42:12 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2015-04-07 22:43:28 +0200 |
commit | 541d529f9845d249d1cb84f1b395e48f0a117e3f (patch) | |
tree | 0dfceb1802ff81d0dbd08020f26a54a99283ee12 /drivers/thermal/st/st_thermal.c | |
parent | thermal: constify of_device_id array (diff) | |
download | linux-541d529f9845d249d1cb84f1b395e48f0a117e3f.tar.xz linux-541d529f9845d249d1cb84f1b395e48f0a117e3f.zip |
drivers: thermal: st: remove several sparse warnings
Simple patch to make symbols static. Symbols that are not
shared with other parts of the kernel can be made static.
This change also removes several sparse complains.
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Ajit Pal Singh <ajitpal.singh@st.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'drivers/thermal/st/st_thermal.c')
-rw-r--r-- | drivers/thermal/st/st_thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/st/st_thermal.c b/drivers/thermal/st/st_thermal.c index d1ec5804c0bb..76c515dd802b 100644 --- a/drivers/thermal/st/st_thermal.c +++ b/drivers/thermal/st/st_thermal.c @@ -25,7 +25,7 @@ * Function to allocate regfields which are common * between syscfg and memory mapped based sensors */ -int st_thermal_alloc_regfields(struct st_thermal_sensor *sensor) +static int st_thermal_alloc_regfields(struct st_thermal_sensor *sensor) { struct device *dev = sensor->dev; struct regmap *regmap = sensor->regmap; |