[PATCH v2 1/5] i2c: Convert i2c-octeon.c to use device tree.

Wolfram Sang w.sang at pengutronix.de
Thu May 3 21:26:23 EST 2012


On Thu, Apr 26, 2012 at 06:20:26PM -0700, David Daney wrote:
> From: David Daney <david.daney at cavium.com>
> 
> There are three parts to this:
> 
> 1) Remove the definitions of OCTEON_IRQ_TWSI and OCTEON_IRQ_TWSI2.
>    The interrupts are specified by the device tree and these hard
>    coded irq numbers block the used of the irq lines by the irq_domain
>    code.
> 
> 2) Remove platform device setup code from octeon-platform.c, it is
>    now unused.
> 
> 3) Convert i2c-octeon.c to use device tree.  Part of this includes
>    using the devm_* functions instead of the raw counterparts, thus
>    simplifying error handling.  No functionality is changed.
> 
> Signed-off-by: David Daney <david.daney at cavium.com>
> Acked-by: Rob Herring <rob.herring at calxeda.com>
> Cc: "Jean Delvare (PC drivers, core)" <khali at linux-fr.org>
> Cc: "Ben Dooks (embedded platforms)" <ben-linux at fluff.org>
> Cc: "Wolfram Sang (embedded platforms)" <w.sang at pengutronix.de>
> Cc: linux-i2c at vger.kernel.org

I2C changes look okay. I'd think this goes in via MIPS-tree?

Acked-by: Wolfram Sang <w.sang at pengutronix.de>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20120503/89a45398/attachment.sig>


More information about the devicetree-discuss mailing list