summaryrefslogtreecommitdiff
path: root/include/linux/mtd/rawnand.h
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-05-07 13:52:35 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-05-11 10:51:42 +0300
commit930370253ec51fccebb743409428ac2f364b3559 (patch)
tree94b87e9e14020f0a047637fd35e48cfe67a116b0 /include/linux/mtd/rawnand.h
parent21b5cf3f6467cf608756151066941792f340c986 (diff)
downloadlinux-930370253ec51fccebb743409428ac2f364b3559.tar.xz
mtd: rawnand: Add a helper to check supported operations
Let's use a helper to clearly check if an operation is supported or not. Return -ENOTSUPP when ->exec_op() is not implemented as we cannot know. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://lore.kernel.org/linux-mtd/20200507105241.14299-8-miquel.raynal@bootlin.com
Diffstat (limited to 'include/linux/mtd/rawnand.h')
0 files changed, 0 insertions, 0 deletions