gpio: xra1403: remove unneeded spi_set_drvdata()
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Thu, 19 Nov 2020 14:21:04 +0000 (16:21 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 30 Nov 2020 16:36:36 +0000 (17:36 +0100)
commit0aa42370084cb8c87f5485e04bee50612d4db644
tree7eb11050d96f1d48540bd5c23fce6f55a46b6d9a
parent7d3615ae401146ab40115546667e8ebc0d5c7d73
gpio: xra1403: remove unneeded spi_set_drvdata()

There is no matching spi_get_drvdata() call in the driver, so there is no
need to do spi_set_drvdata(). This looks like it probably was copied from a
driver that used both spi_set_drvdata() & spi_get_drvdata().

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-xra1403.c