summaryrefslogtreecommitdiff
path: root/drivers/staging/omap-thermal/omap-thermal-common.c
diff options
context:
space:
mode:
authorEduardo Valentin <eduardo.valentin@ti.com>2012-11-13 14:10:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-13 15:08:31 -0800
commit5041949117e3c1a0b7c21c3b176ca18b202d4027 (patch)
tree69520ec85f689d985460e36403b454f3bb178350 /drivers/staging/omap-thermal/omap-thermal-common.c
parent2aeeb8acfc19f8a9f283081bbf77919b61b92042 (diff)
staging: omap-thermal: remove platform data nomenclature
Because the driver is not really using platform data, this patch removes the pdata nomenclature from this driver. Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/omap-thermal/omap-thermal-common.c')
-rw-r--r--drivers/staging/omap-thermal/omap-thermal-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/omap-thermal/omap-thermal-common.c b/drivers/staging/omap-thermal/omap-thermal-common.c
index 5c0c203b887f..5be66d7f5d21 100644
--- a/drivers/staging/omap-thermal/omap-thermal-common.c
+++ b/drivers/staging/omap-thermal/omap-thermal-common.c
@@ -256,12 +256,12 @@ static struct omap_thermal_data
int omap_thermal_expose_sensor(struct omap_bandgap *bg_ptr, int id,
char *domain)
{
- struct omap_thermal_pdata pdata;
+ struct omap_thermal_data *data;
data = omap_bandgap_get_sensor_data(bg_ptr, id);
if (!data)
- data = omap_thermal_build_pdata(bg_ptr, id);
+ data = omap_thermal_build_data(bg_ptr, id);
if (!data)
return -EINVAL;
@@ -359,7 +359,7 @@ int omap_thermal_register_cpu_cooling(struct omap_bandgap *bg_ptr, int id)
data = omap_bandgap_get_sensor_data(bg_ptr, id);
if (!data)
- data = omap_thermal_build_pdata(bg_ptr, id);
+ data = omap_thermal_build_data(bg_ptr, id);
if (!data)
return -EINVAL;