[PATCH] mtd: nand: gpio: Convert to use GPIO descriptors

Linus Walleij linus.walleij at linaro.org
Fri Oct 6 14:52:38 PDT 2017


On Fri, Oct 6, 2017 at 10:46 PM, Robert Jarzmik <robert.jarzmik at free.fr> wrote:
> Linus Walleij <linus.walleij at linaro.org> writes:
>
>>  #if defined(CONFIG_MTD_NAND_GPIO) || defined(CONFIG_MTD_NAND_GPIO_MODULE)
>> +
>> +static struct gpiod_lookup_table cmx255_nand_gpiod_table = {
>> +     .dev_id         = "cmx255-nand",
> Shouldn't the device name be "gpio-nand" instead ?
> "cmx255-nand" is AFAIR a partition name, not a device name.

My silly mistake. Sent a fixup patch.

Thanks for spotting this!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list