All of lore.kernel.org
 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,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Subject: Re: [PATCH 1/4] Thermal: armada: Remove redundant use of of_match_ptr
Date: Thu, 23 May 2013 10:58:03 -0400	[thread overview]
Message-ID: <519E2E7B.2070506@ti.com> (raw)
In-Reply-To: <1368700091-6084-1-git-send-email-sachin.kamat@linaro.org>

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

Rui,

On 16-05-2013 06:28, Sachin Kamat wrote:
> 'armada_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: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

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

> ---
>  drivers/thermal/armada_thermal.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/armada_thermal.c b/drivers/thermal/armada_thermal.c
> index 0d02d4e..9426bbd 100644
> --- a/drivers/thermal/armada_thermal.c
> +++ b/drivers/thermal/armada_thermal.c
> @@ -220,7 +220,7 @@ static struct platform_driver armada_thermal_driver = {
>  	.driver = {
>  		.name = "armada_thermal",
>  		.owner = THIS_MODULE,
> -		.of_match_table = of_match_ptr(armada_thermal_id_table),
> +		.of_match_table = armada_thermal_id_table,
>  	},
>  };
>  
> 



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

      parent reply	other threads:[~2013-05-23 14:58 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
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 [this message]

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=519E2E7B.2070506@ti.com \
    --to=eduardo.valentin@ti.com \
    --cc=ezequiel.garcia@free-electrons.com \
    --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.