linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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,
	Andrew Lunn <andrew@lunn.ch>
Subject: Re: [PATCH 2/4] Thermal: dove: Remove redundant use of of_match_ptr
Date: Thu, 23 May 2013 10:58:59 -0400	[thread overview]
Message-ID: <519E2EB3.2030502@ti.com> (raw)
In-Reply-To: <1368700091-6084-2-git-send-email-sachin.kamat@linaro.org>

[-- Attachment #1: Type: text/plain, Size: 931 bytes --]


Rui,

On 16-05-2013 06:28, Sachin Kamat wrote:
> 'dove_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: Andrew Lunn <andrew@lunn.ch>

Acked-by: Eduardo Valentin <eduardo.valentin@ti.com>


> ---



>  drivers/thermal/dove_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/dove_thermal.c b/drivers/thermal/dove_thermal.c
> index 900479e..49f9a0a 100644
> --- a/drivers/thermal/dove_thermal.c
> +++ b/drivers/thermal/dove_thermal.c
> @@ -194,7 +194,7 @@ static struct platform_driver dove_thermal_driver = {
>  	.driver = {
>  		.name = "dove_thermal",
>  		.owner = THIS_MODULE,
> -		.of_match_table = of_match_ptr(dove_thermal_id_table),
> +		.of_match_table = dove_thermal_id_table,
>  	},
>  };
>  
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 295 bytes --]

  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 [this message]
2013-05-16 10:28 ` [PATCH 3/4] Thermal: kirkwood: " Sachin Kamat
2013-05-23 14:59   ` Eduardo Valentin
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=519E2EB3.2030502@ti.com \
    --to=eduardo.valentin@ti.com \
    --cc=andrew@lunn.ch \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).