| To: | David Daney <ddaney.cavm@gmail.com>, linux-mips@linux-mips.org, ralf@linux-mips.org, devicetree-discuss@lists.ozlabs.org, Rob Herring <rob.herring@calxeda.com> |
|---|---|
| Subject: | Re: [PATCH v2 1/5] i2c: Convert i2c-octeon.c to use device tree. |
| From: | Grant Likely <grant.likely@secretlab.ca> |
| Date: | Sat, 19 May 2012 00:05:09 -0600 |
| Cc: | linux-kernel@vger.kernel.org, David Daney <david.daney@cavium.com>, "Jean Delvare (PC drivers, core)" <khali@linux-fr.org>, "Ben Dooks (embedded platforms)" <ben-linux@fluff.org>, "Wolfram Sang (embedded platforms)" <w.sang@pengutronix.de>, linux-i2c@vger.kernel.org |
| In-reply-to: | <1335489630-27017-2-git-send-email-ddaney.cavm@gmail.com> |
| References: | <1335489630-27017-1-git-send-email-ddaney.cavm@gmail.com> <1335489630-27017-2-git-send-email-ddaney.cavm@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
On Thu, 26 Apr 2012 18:20:26 -0700, David Daney <ddaney.cavm@gmail.com> wrote: > From: David Daney <david.daney@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@cavium.com> > Acked-by: Rob Herring <rob.herring@calxeda.com> Is the DT binding for this device documented? Otherwise the code looks good. Please make sure the binding documentation is in place before merging. g. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v8 2/4] MIPS: Octeon: Setup irq_domains for interrupts., Grant Likely |
|---|---|
| Next by Date: | Re: [PATCH v2 2/5] netdev: mdio-octeon.c: Convert to use device tree., Grant Likely |
| Previous by Thread: | Re: [PATCH v2 1/5] i2c: Convert i2c-octeon.c to use device tree., Wolfram Sang |
| Next by Thread: | [PATCH] mips: set ST0_MX flag for MDMX, Matt Turner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |