]> git.baikalelectronics.ru Git - uboot.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)
commitd501f1fe01eecdb79248f132f0b925262a516147
treee83b3167e26484cf9843164e438ce36a3f5efc37
parentb65d85ba93ded108b3520ccfc1cde587fb11d361
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