]> git.dujemihanovic.xyz Git - u-boot.git/commit
mtd: nand: Get rid of mtd variable in function calls
authorMichael Trimarchi <michael@amarulasolutions.com>
Wed, 20 Jul 2022 16:22:07 +0000 (18:22 +0200)
committerMichael Trimarchi <michael@amarulasolutions.com>
Fri, 22 Jul 2022 08:34:02 +0000 (10:34 +0200)
commit9d1806fadc24811a5338f3fecb82ff5538114455
treee83b3167e26484cf9843164e438ce36a3f5efc37
parentb8cd2df5198c11360d514cd8529da992848d83b3
mtd: nand: Get rid of mtd variable in function calls

chip points to mtd. Passing chip is enough to have a reference
to mtd when is necessary

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
drivers/mtd/nand/raw/nand_base.c
include/linux/mtd/rawnand.h