mtd: rawnand: davinci: use generic device property helpers
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Oct 2024 12:23:50 +0000 (14:23 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 21 Oct 2024 09:24:35 +0000 (11:24 +0200)
commit905050b01499fb80dbd579e8ec13b19eb8f59101
tree31af7ce29bf7d6a545765f60732bebcae1b7c963
parentded621161b02a7dbee39e82863334301ffd731e5
mtd: rawnand: davinci: use generic device property helpers

There's no reason for this driver to be using OF-specific property
accessors. Switch to using generic device property interfaces and
replace the of.h include with property.h. This allows us to no longer
check the existence of the associated of_node.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20241007122350.75285-3-brgl@bgdev.pl
drivers/mtd/nand/raw/davinci_nand.c