mtd: rawnand: davinci: Do not use extra dereferencing
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 13 Nov 2020 12:40:45 +0000 (13:40 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:32 +0000 (22:37 +0100)
commitb75e17b00f2c0add86524737f2842d5ec19e539a
tree466beffc54f121436f1010c6b754a86abe89de6a
parentd59df005ed6870c4a8914489a8520b9f339ac62e
mtd: rawnand: davinci: Do not use extra dereferencing

When the nand_chip structure is already available, there is no need to
dereference it through the info pointer. Use the chip pointer directly
in this case.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20201113124045.32743-1-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/davinci_nand.c