David Daney f353a218de i2c: Convert i2c-octeon.c to use device tree.
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@cavium.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: linux-mips@linux-mips.org
Cc: devicetree-discuss@lists.ozlabs.org
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/3939/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2012-07-23 13:54:53 +01:00
..
2011-10-29 09:55:45 +01:00
2011-03-31 11:26:23 -03:00
2011-01-04 00:53:37 +00:00
2012-01-20 08:24:22 -08:00
2011-05-24 20:58:49 +02:00
2011-05-24 20:58:49 +02:00
2012-05-12 14:28:14 +02:00
2012-05-12 14:28:11 +02:00
2011-10-29 09:55:45 +01:00
2011-06-29 11:36:10 +02:00
2012-05-12 14:28:18 +02:00
2012-05-12 14:28:14 +02:00