]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: Add a helper to clarify the interface configuration
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 5 May 2021 21:37:29 +0000 (23:37 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 26 May 2021 08:43:31 +0000 (10:43 +0200)
commitd7e8163742a606560ef71c01d0cdd524db8555cd
tree4c3515c277ff16d7976906b30a3ae045562af954
parentb5a960ae820df8f7630cc109229be0a74dd4f994
mtd: rawnand: Add a helper to clarify the interface configuration

Name it nand_interface_is_sdr() which will make even more sense when
nand_interface_is_nvddr() will be introduced.

Use it when relevant.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210505213750.257417-2-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/atmel/nand-controller.c
include/linux/mtd/rawnand.h