Subject: [PATCH v2 3/7] i2c: pxa: add OF support

From: [email-masked] (Arnd Bergmann)
Date: Mon, 5 Mar 2012 14:41:26 +0000

On Monday 05 March 2012, Haojian Zhuang wrote:
> Append these properties in below.
> mrvl,i2c-polling
> mrvl,i2c-fast-mode
> 
> Still keep slave, slave_addr and class in platform data.
> 
> Signed-off-by: Haojian Zhuang <[email-masked]>

Acked-by: Arnd Bergmann <[email-masked]>

Just one tiny detail:

> +       *i2c_types = (u32)(of_id->data);

By convention, please use (unsigned long) as the cast from pointer to an
integer type. While this doesn't make any difference on 32 bit systems,
it's better to always write code that is 64-bit clean.

	Arnd