Commit 50419491 authored by Eduardo Valentin's avatar Eduardo Valentin Committed by Greg Kroah-Hartman

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: default avatarEduardo Valentin <eduardo.valentin@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2aeeb8ac
...@@ -256,12 +256,12 @@ static struct omap_thermal_data ...@@ -256,12 +256,12 @@ static struct omap_thermal_data
int omap_thermal_expose_sensor(struct omap_bandgap *bg_ptr, int id, int omap_thermal_expose_sensor(struct omap_bandgap *bg_ptr, int id,
char *domain) char *domain)
{ {
struct omap_thermal_pdata pdata; struct omap_thermal_data *data;
data = omap_bandgap_get_sensor_data(bg_ptr, id); data = omap_bandgap_get_sensor_data(bg_ptr, id);
if (!data) if (!data)
data = omap_thermal_build_pdata(bg_ptr, id); data = omap_thermal_build_data(bg_ptr, id);
if (!data) if (!data)
return -EINVAL; return -EINVAL;
...@@ -359,7 +359,7 @@ int omap_thermal_register_cpu_cooling(struct omap_bandgap *bg_ptr, int id) ...@@ -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); data = omap_bandgap_get_sensor_data(bg_ptr, id);
if (!data) if (!data)
data = omap_thermal_build_pdata(bg_ptr, id); data = omap_thermal_build_data(bg_ptr, id);
if (!data) if (!data)
return -EINVAL; return -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment