]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: raw: Use macro nand_to_mtd() where appropriate
authorAlexander Dahl <ada@thorsis.com>
Wed, 20 Mar 2024 09:02:09 +0000 (10:02 +0100)
committerDario Binacchi <dario.binacchi@amarulasolutions.com>
Sun, 14 Apr 2024 06:49:40 +0000 (08:49 +0200)
commit0106ffdc8b40c3cb0ca73f8eb72e0d74e1e133e1
tree693d7aefa8fdc0f5f8421ffcfc1a50f0f6a1cf92
parentc2e8c4d09a7a5999c5008d0243cdf7da3d5f7160
mtd: nand: raw: Use macro nand_to_mtd() where appropriate

In every other place in this file the macro is used, make it consistent.

Link: https://lore.kernel.org/all/20240320090214.40465-2-ada@thorsis.com
Fixes: 9d1806fadc24 ("mtd: nand: Get rid of mtd variable in function calls")
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/nand_base.c