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

Robert Jarzmik robert.jarzmik at free.fr
Fri Oct 6 13:46:59 PDT 2017


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.

Cheers.

-- 
Robert



More information about the linux-arm-kernel mailing list