staging: iio: resolver: ad2s1210: remove call to spi_setup()
authorDavid Lechner <dlechner@baylibre.com>
Fri, 29 Sep 2023 17:23:08 +0000 (12:23 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 30 Sep 2023 14:35:05 +0000 (15:35 +0100)
commit9829ebacea804ad4b5d1a74a8d94a1f843505546
tree644dd9c35bafcfcee25a7cbba189693081b4cc41
parent7fe2d05cee46b1c4d9f1efaeab08cc31a0dfff60
staging: iio: resolver: ad2s1210: remove call to spi_setup()

This removes the call to spi_setup() in the ad2s1210 driver.

Setting MODE_3 was incorrect. It should be MODE_1 but we can let the
device tree select this and avoid the need to call spi_setup().

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20230929-ad2s1210-mainline-v3-3-fa4364281745@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/resolver/ad2s1210.c