spi: spidev: Replace OF specific code by device property API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 23 Mar 2022 14:02:15 +0000 (16:02 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2022 09:21:50 +0000 (10:21 +0100)
commit88a285192084edab6657e819f7f130f9cfcb0579
treedefcb03510229484b4f8cda685961b445cd09cb1
parent2a7f669dd8f6561d227e724ca2614c25732f4799
spi: spidev: Replace OF specific code by device property API

Instead of calling the OF specific APIs, use device property ones.

It also prevents misusing PRP0001 in ACPI when trying to instantiate
spidev directly. We only support special SPI test devices there.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220323140215.2568-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spidev.c