@@ -67,8 +67,6 @@ enum adis16203_scan {
ADIS16203_SCAN_TEMP,
};
-#define DRIVER_NAME "adis16203"
-
static int adis16203_write_raw(struct iio_dev *indio_dev,
struct iio_chan_spec const *chan,
int val,
@@ -196,7 +194,7 @@ static int adis16203_probe(struct spi_device *spi)
/* this is only used for removal purposes */
spi_set_drvdata(spi, indio_dev);
- indio_dev->name = spi->dev.driver->name;
+ indio_dev->name = "adis16203";
indio_dev->channels = adis16203_channels;
indio_dev->num_channels = ARRAY_SIZE(adis16203_channels);
indio_dev->info = &adis16203_info;