[PATCH 1/1] mtd: st fsmc_nand: pass the ale and cmd resource via resource

Linus Walleij linus.walleij at linaro.org
Fri Oct 5 08:49:44 EDT 2012


On Thu, Oct 4, 2012 at 3:14 PM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj at jcrosoft.com> wrote:

> Do not use the platform_data to pass resource and be smart in the drivers.
> Just pass it via resource
>
> Switch to devm_request_and_ioremap at the sametime
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> Cc: Linus Walleij <linus.walleij at linaro.org>
> Cc: Vipin Kumar <vipin.kumar at st.com>
> Cc: linux-mtd at lists.infradead.org

This is much better. Actually I was confused by these offsets recently...
Acked-by: Linus Walleij <linus.walleij at linaro.org>

My patch to convert the Nomadik to the FSMC driver will collide with this,
but I can sure fix it up as we run into it, no big deal.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list