mtd: rawnand: denali: remove unneeded casts in denali_{read, write}_pio
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 2 Apr 2019 04:03:03 +0000 (13:03 +0900)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 18 Apr 2019 06:54:03 +0000 (08:54 +0200)
commitcf067b5be011dbc0eaf8679c743e0c1bc0b77745
tree7dea4745a4f851446cd79d33c671ccdf4a61a4c5
parent0e604fc9cffc7c4e3226280bcb35d9870581afc8
mtd: rawnand: denali: remove unneeded casts in denali_{read, write}_pio

Since (u32 *) can accept an opaque pointer, the explicit casting
from (void *) to (u32 *) is redundant. Change the function argument type
to remove the casts.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/denali.c