]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2022 13:16:16 +0000 (15:16 +0200)
commitc91e5215a4136c33fde9b9688643dbac72139d9b
treee84f2b056483e1f8aa362062a926418f523d8c2d
parentae1e2bc7bfaa81a877251777b7027534ca9c1a82
mtd: rawnand: Add a helper to clarify the interface configuration

[ Upstream commit 961965c45c706175b24227868b1c12d72775e446 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mtd/nand/raw/atmel/nand-controller.c
include/linux/mtd/rawnand.h