From: Eduardo Valentin <eduardo.valentin@ti.com>
To: gregkh@linuxfoundation.org
Cc: b-cousson@ti.com, devel@driverdev.osuosl.org,
linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org,
Eduardo Valentin <eduardo.valentin@ti.com>
Subject: [PATCH 2/5] staging: omap-thermal: remove platform data nomenclature
Date: Tue, 13 Nov 2012 11:43:19 -0400 [thread overview]
Message-ID: <1352821402-13458-3-git-send-email-eduardo.valentin@ti.com> (raw)
In-Reply-To: <1352821402-13458-1-git-send-email-eduardo.valentin@ti.com>
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>
---
drivers/staging/omap-thermal/omap-thermal-common.c | 6 +++---
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 5c0c203b..5be66d7 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;
--
1.7.7.1.488.ge8e1c
next prev parent reply other threads:[~2012-11-13 15:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 15:43 [PATCH 0/5] staging: omap-thermal fixes Eduardo Valentin
2012-11-13 15:43 ` [PATCH 1/5] staging: omap-thermal: fix compilation Eduardo Valentin
2012-11-13 15:43 ` Eduardo Valentin [this message]
2012-11-13 15:43 ` [PATCH 3/5] staging: omap-thermal: remove freq_clip table Eduardo Valentin
2012-11-13 15:43 ` [PATCH 4/5] staging: omap-thermal: add IRQ debugging messaging Eduardo Valentin
2012-11-13 15:43 ` [PATCH 5/5] staging: omap-thermal: fix context restore function Eduardo Valentin
2012-11-13 17:45 ` [PATCH 0/5] staging: omap-thermal fixes Eduardo Valentin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352821402-13458-3-git-send-email-eduardo.valentin@ti.com \
--to=eduardo.valentin@ti.com \
--cc=b-cousson@ti.com \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox