mfd: mc13xxx-spi/wm831x-spi: Use spi_get_device_match_data()
authorRob Herring <robh@kernel.org>
Tue, 17 Oct 2023 20:35:49 +0000 (15:35 -0500)
committerLee Jones <lee@kernel.org>
Wed, 1 Nov 2023 10:02:16 +0000 (10:02 +0000)
commit15d71e678ec14ce26f7a271fef363e5c04ec24bf
treea1c3a3d81635b76ff54a8d3359ea63986896e9e8
parent9f58744c5eee149fae13c64b0b8b5b4405de3aa4
mfd: mc13xxx-spi/wm831x-spi: Use spi_get_device_match_data()

Use preferred spi_get_device_match_data() instead of of_match_device() and
spi_get_device_id() to get the driver match data. With this, adjust the
includes to explicitly include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20231017203550.2700601-1-robh@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
tils.feedkeys.call.run(35)
all.run(37)
all.run(39)
drivers/mfd/mc13xxx-spi.c
drivers/mfd/wm831x-spi.c