Files
linux/drivers
Martin Blumenstingl c96ffedf8a mtd: rawnand: meson: use a void pointer for meson_nfc_dma_buffer_setup
This simplifies the code because it gets rid of the casts to an
u8-pointer when passing "info_buf" from struct meson_nfc_nand_chip.
Also it gets rid of the cast of the u8 databuf pointer to a void
pointer.
The logic inside meson_nfc_dma_buffer_setup() doesn't care about the
pointer types themselves because it only passes them to dma_map_single
which accepts a void pointer.

No functional changes.

Signed-off-by: Martin Blumenstingl <[email protected]>
Tested-by:Liang Yang <[email protected]>
Acked-by: Liang Yang <[email protected]>
Tested-by:Liang Yang <[email protected]>
Acked-by: Liang Yang <[email protected]>
Tested-by:Liang Yang <[email protected]>
Acked-by: Liang Yang <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
2019-04-18 08:54:06 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
2019-03-07 08:59:26 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…