public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: nicolas.ferre@atmel•com (Nicolas Ferre)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 1/3] i2c: at91: fix compilation warning
Date: Thu, 15 Nov 2012 18:16:37 +0100	[thread overview]
Message-ID: <50A52375.4070304@atmel.com> (raw)
In-Reply-To: <1352911493-6979-2-git-send-email-ludovic.desroches@atmel.com>

On 11/14/2012 05:44 PM, ludovic.desroches at atmel.com :
> From: Ludovic Desroches <ludovic.desroches@atmel•com>
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel•com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel•com>

Maybe tell Wolfram to remove this one from the series and add it to his
3.7 tree...

Bye,

> ---
>  drivers/i2c/busses/i2c-at91.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i2c/busses/i2c-at91.c
> index a6670eb..dc8cb22 100644
> --- a/drivers/i2c/busses/i2c-at91.c
> +++ b/drivers/i2c/busses/i2c-at91.c
> @@ -412,7 +412,7 @@ static struct at91_twi_pdata * __devinit at91_twi_get_driver_data(
>  		match = of_match_node(atmel_twi_dt_ids, pdev->dev.of_node);
>  		if (!match)
>  			return NULL;
> -		return match->data;
> +		return (struct at91_twi_pdata *) match->data;
>  	}
>  	return (struct at91_twi_pdata *) platform_get_device_id(pdev)->driver_data;
>  }
> 


-- 
Nicolas Ferre

  reply	other threads:[~2012-11-15 17:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14 16:44 [PATCH v3 0/3] i2c: at91: add dma support ludovic.desroches at atmel.com
2012-11-14 16:44 ` [PATCH 1/3] i2c: at91: fix compilation warning ludovic.desroches at atmel.com
2012-11-15 17:16   ` Nicolas Ferre [this message]
2012-11-14 16:44 ` [PATCH 2/3] i2c: at91: change struct members indentation ludovic.desroches at atmel.com
2012-11-15 17:19   ` Nicolas Ferre
2012-11-14 16:44 ` [PATCH 3/3] i2c: at91: add dma support ludovic.desroches at atmel.com
2012-11-15 17:21   ` Nicolas Ferre
2012-11-16 17:05 ` [PATCH v3 0/3] " Wolfram Sang
2012-11-21  9:45   ` ludovic.desroches
2012-11-22 21:40     ` Wolfram Sang
  -- strict thread matches above, loose matches on Subject: below --
2012-11-23  9:09 [RESEND PATCH " ludovic.desroches at atmel.com
2012-11-23  9:09 ` [PATCH 1/3] i2c: at91: fix compilation warning ludovic.desroches at atmel.com
2012-11-23  9:16   ` Russell King - ARM Linux
2012-11-23 16:03     ` ludovic.desroches at atmel.com

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=50A52375.4070304@atmel.com \
    --to=nicolas.ferre@atmel$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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