]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4720ca4d1978b23fea8b7ca37e11e16a15e6ec7c
tree7eb11050d96f1d48540bd5c23fce6f55a46b6d9a
parenta8c930e630f1579c0d3d62d0b619a0e322d7e667
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