Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: frequency: adf4371: drop spi_set_drvdata()

spi_set_drvdata() is not needed as there's no spi_get_drvdata() call in
the code.

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://patch.msgid.link/20241009-dev-adf4371-minor-improv-v1-2-97f4f22ed941@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Nuno Sa and committed by
Jonathan Cameron
17f3d6ce f1a5d779

-1
-1
drivers/iio/frequency/adf4371.c
··· 561 561 } 562 562 563 563 st = iio_priv(indio_dev); 564 - spi_set_drvdata(spi, indio_dev); 565 564 st->spi = spi; 566 565 st->regmap = regmap; 567 566 mutex_init(&st->lock);