From: Eduardo Valentin <eduardo.valentin@ti.com>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-pm@vger.kernel.org, eduardo.valentin@ti.com,
rui.zhang@intel.com, patches@linaro.org,
Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Subject: Re: [PATCH 3/4] Thermal: kirkwood: Remove redundant use of of_match_ptr
Date: Thu, 23 May 2013 10:59:28 -0400 [thread overview]
Message-ID: <519E2ED0.8070709@ti.com> (raw)
In-Reply-To: <1368700091-6084-3-git-send-email-sachin.kamat@linaro.org>
[-- Attachment #1: Type: text/plain, Size: 979 bytes --]
Rui,
On 16-05-2013 06:28, Sachin Kamat wrote:
> 'kirkwood_thermal_id_table' is always compiled in and the driver
> is dependent on OF. Hence use of of_match_ptr is unnecessary.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>
> ---
> drivers/thermal/kirkwood_thermal.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/thermal/kirkwood_thermal.c b/drivers/thermal/kirkwood_thermal.c
> index b57a45d..944ac49 100644
> --- a/drivers/thermal/kirkwood_thermal.c
> +++ b/drivers/thermal/kirkwood_thermal.c
> @@ -120,7 +120,7 @@ static struct platform_driver kirkwood_thermal_driver = {
> .driver = {
> .name = "kirkwood_thermal",
> .owner = THIS_MODULE,
> - .of_match_table = of_match_ptr(kirkwood_thermal_id_table),
> + .of_match_table = kirkwood_thermal_id_table,
> },
> };
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]
next prev parent reply other threads:[~2013-05-23 14:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 10:28 [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr Sachin Kamat
2013-05-16 10:28 ` [PATCH 2/4] Thermal: dove: " Sachin Kamat
2013-05-23 14:58 ` Eduardo Valentin
2013-05-16 10:28 ` [PATCH 3/4] Thermal: kirkwood: " Sachin Kamat
2013-05-23 14:59 ` Eduardo Valentin [this message]
2013-05-16 10:28 ` [PATCH 4/4] Thermal: spear: " Sachin Kamat
2013-05-16 10:42 ` Viresh Kumar
2013-05-23 15:01 ` Eduardo Valentin
2013-05-23 11:40 ` [PATCH 1/4] Thermal: armada: " Sachin Kamat
2013-05-23 14:58 ` 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=519E2ED0.8070709@ti.com \
--to=eduardo.valentin@ti.com \
--cc=iwamatsu@nigauri.org \
--cc=linux-pm@vger.kernel.org \
--cc=patches@linaro.org \
--cc=rui.zhang@intel.com \
--cc=sachin.kamat@linaro.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.