[PATCH v4] of/irq: introduce of_irq_init
From: Grant Likely <hidden>
Date: 2011-09-27 21:25:05
Also in:
linux-devicetree, lkml
On Tue, Sep 27, 2011 at 7:03 AM, Rob Herring [off-list ref] wrote:
Grant, On 09/26/2011 08:53 PM, Grant Likely wrote:quoted
On Mon, Sep 26, 2011 at 02:24:43PM -0500, Rob Herring wrote:quoted
From: Rob Herring <redacted> of_irq_init will scan the devicetree for matching interrupt controller nodes. Then it calls an initialization function for each found controller in the proper order with parent nodes initialized before child nodes. Based on initial pseudo code from Grant Likely. Changes in v4: - Drop unnecessary empty list check - Be more verbose on errors - Simplify "if (!desc) WARN_ON(1)" to "if (WARN_ON(!desc))" Changes in v3: - add missing kfree's found by Jamie - Implement Grant's comments to simplify the init loop - fix function comments Changes in v2: - Complete re-write of list searching code from Grant Likely Signed-off-by: Rob Herring <redacted> Cc: Grant Likely <redacted>Looks good to me. ?Merged.I'm dependent on this and things in rmk's tree for initial highbank support, so should this series go in thru arm-soc tree? Several others are dependent on this as well.
Sure, it can go in via arm-soc. I don't have anything depending on it in mine. Add my acked-by. g.