On Fri, Mar 28, 2014 at 10:21 AM, Lee Jones <lee.jones@xxxxxxxxxx> wrote: [...] >> +static struct resource axp20x_pek_resources[] = { >> + { >> + .name = "PEK_DBR", >> + .start = AXP20X_IRQ_PEK_RIS_EDGE, >> + .end = AXP20X_IRQ_PEK_RIS_EDGE, >> + .flags = IORESOURCE_IRQ, >> + }, { >> + .name = "PEK_DBF", >> + .start = AXP20X_IRQ_PEK_FAL_EDGE, >> + .end = AXP20X_IRQ_PEK_FAL_EDGE, >> + .flags = IORESOURCE_IRQ, >> + }, >> +}; > > Have you considered doing this in the Device Tree? It's a lot less > code/overhead. Hi Lee, in v4 (I will send it soon) I left this code in since the resources are well managed by the MFD core and adding it in the DT results in pretty much the same code/overhead (atm the input device is not present in the DT). If you really think that it is the case to move the code in the DT, please comment it in the v4. Thanks, -- Carlo Caione -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html