All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	Nishanth Menon <nm@ti.com>, Kevin Hilman <khilman@ti.com>
Subject: Re: [PATCH] ARM: OMAP2+: omap_twl: Change TWL4030_MODULE_PM_RECEIVER to TWL_MODULE_PM_RECEIVER
Date: Thu, 15 Nov 2012 09:10:30 +0100	[thread overview]
Message-ID: <50A4A376.3020703@ti.com> (raw)
In-Reply-To: <1352799152-20980-1-git-send-email-peter.ujfalusi@ti.com>

Hi Tony,

On 11/13/2012 10:32 AM, Peter Ujfalusi wrote:
> To facilitate upcoming cleanup in twl stack.
> No functional change.

Would you please consider this patch for 3.8? It would shorten the time I'll
need to progress on the cleanup regarding to twl-core greatly.

Thank you,
Péter

> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
>  arch/arm/mach-omap2/omap_twl.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/omap_twl.c b/arch/arm/mach-omap2/omap_twl.c
> index 2bf35dc..018abb4 100644
> --- a/arch/arm/mach-omap2/omap_twl.c
> +++ b/arch/arm/mach-omap2/omap_twl.c
> @@ -337,8 +337,8 @@ int __init omap3_twl_set_sr_bit(bool enable)
>  	if (twl_sr_enable_autoinit)
>  		pr_warning("%s: unexpected multiple calls\n", __func__);
>  
> -	ret = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &temp,
> -					TWL4030_DCDC_GLOBAL_CFG);
> +	ret = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &temp,
> +			      TWL4030_DCDC_GLOBAL_CFG);
>  	if (ret)
>  		goto err;
>  
> @@ -347,8 +347,8 @@ int __init omap3_twl_set_sr_bit(bool enable)
>  	else
>  		temp &= ~SMARTREFLEX_ENABLE;
>  
> -	ret = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, temp,
> -				TWL4030_DCDC_GLOBAL_CFG);
> +	ret = twl_i2c_write_u8(TWL_MODULE_PM_RECEIVER, temp,
> +			       TWL4030_DCDC_GLOBAL_CFG);
>  	if (!ret) {
>  		twl_sr_enable_autoinit = true;
>  		return 0;
> 


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: peter.ujfalusi@ti.com (Peter Ujfalusi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: OMAP2+: omap_twl: Change TWL4030_MODULE_PM_RECEIVER to TWL_MODULE_PM_RECEIVER
Date: Thu, 15 Nov 2012 09:10:30 +0100	[thread overview]
Message-ID: <50A4A376.3020703@ti.com> (raw)
In-Reply-To: <1352799152-20980-1-git-send-email-peter.ujfalusi@ti.com>

Hi Tony,

On 11/13/2012 10:32 AM, Peter Ujfalusi wrote:
> To facilitate upcoming cleanup in twl stack.
> No functional change.

Would you please consider this patch for 3.8? It would shorten the time I'll
need to progress on the cleanup regarding to twl-core greatly.

Thank you,
P?ter

> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> ---
>  arch/arm/mach-omap2/omap_twl.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/omap_twl.c b/arch/arm/mach-omap2/omap_twl.c
> index 2bf35dc..018abb4 100644
> --- a/arch/arm/mach-omap2/omap_twl.c
> +++ b/arch/arm/mach-omap2/omap_twl.c
> @@ -337,8 +337,8 @@ int __init omap3_twl_set_sr_bit(bool enable)
>  	if (twl_sr_enable_autoinit)
>  		pr_warning("%s: unexpected multiple calls\n", __func__);
>  
> -	ret = twl_i2c_read_u8(TWL4030_MODULE_PM_RECEIVER, &temp,
> -					TWL4030_DCDC_GLOBAL_CFG);
> +	ret = twl_i2c_read_u8(TWL_MODULE_PM_RECEIVER, &temp,
> +			      TWL4030_DCDC_GLOBAL_CFG);
>  	if (ret)
>  		goto err;
>  
> @@ -347,8 +347,8 @@ int __init omap3_twl_set_sr_bit(bool enable)
>  	else
>  		temp &= ~SMARTREFLEX_ENABLE;
>  
> -	ret = twl_i2c_write_u8(TWL4030_MODULE_PM_RECEIVER, temp,
> -				TWL4030_DCDC_GLOBAL_CFG);
> +	ret = twl_i2c_write_u8(TWL_MODULE_PM_RECEIVER, temp,
> +			       TWL4030_DCDC_GLOBAL_CFG);
>  	if (!ret) {
>  		twl_sr_enable_autoinit = true;
>  		return 0;
> 

  reply	other threads:[~2012-11-15  8:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13  9:32 [PATCH] ARM: OMAP2+: omap_twl: Change TWL4030_MODULE_PM_RECEIVER to TWL_MODULE_PM_RECEIVER Peter Ujfalusi
2012-11-13  9:32 ` Peter Ujfalusi
2012-11-15  8:10 ` Peter Ujfalusi [this message]
2012-11-15  8:10   ` Peter Ujfalusi
2012-11-21 21:52   ` Tony Lindgren
2012-11-21 21:52     ` Tony Lindgren
2012-11-22 10:26     ` Peter Ujfalusi
2012-11-22 10:26       ` Peter Ujfalusi
2012-12-14 17:18       ` Tony Lindgren
2012-12-14 17:18         ` Tony Lindgren
2012-12-21 12:52         ` Peter Ujfalusi
2012-12-21 12:52           ` Peter Ujfalusi
2012-12-21 16:41           ` Tony Lindgren
2012-12-21 16:41             ` Tony Lindgren

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=50A4A376.3020703@ti.com \
    --to=peter.ujfalusi@ti.com \
    --cc=khilman@ti.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=nm@ti.com \
    --cc=tony@atomide.com \
    /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.