From 85da50596db89356524974d78bec0e32952521a8 Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Fri, 30 Sep 2011 10:05:45 +0100 Subject: [PATCH] staging:iio:imu:adis16400 rename adis16344 -> adis16334. Part never existed under that name. Ooops Signed-off-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/imu/Kconfig | 8 ++++---- drivers/staging/iio/imu/adis16400_core.c | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/staging/iio/imu/Kconfig b/drivers/staging/iio/imu/Kconfig index 2e2fa8c9191e..2c2f47de2630 100644 --- a/drivers/staging/iio/imu/Kconfig +++ b/drivers/staging/iio/imu/Kconfig @@ -9,9 +9,9 @@ config ADIS16400 select IIO_SW_RING if IIO_BUFFER select IIO_TRIGGER if IIO_BUFFER help - Say yes here to build support for Analog Devices adis16300, adis16350, - adis16354, adis16355, adis16360, adis16362, adis16364, adis16365, - adis16400 and adis16405 triaxial inertial sensors (adis16400 series - also have magnetometers). + Say yes here to build support for Analog Devices adis16300, adis16344, + adis16350, adis16354, adis16355, adis16360, adis16362, adis16364, + adis16365, adis16400 and adis16405 triaxial inertial sensors + (adis16400 series also have magnetometers). endmenu diff --git a/drivers/staging/iio/imu/adis16400_core.c b/drivers/staging/iio/imu/adis16400_core.c index 0e62d5e81e57..07d5a61eaa72 100644 --- a/drivers/staging/iio/imu/adis16400_core.c +++ b/drivers/staging/iio/imu/adis16400_core.c @@ -33,7 +33,7 @@ enum adis16400_chip_variant { ADIS16300, - ADIS16344, + ADIS16334, ADIS16350, ADIS16360, ADIS16362, @@ -852,7 +852,7 @@ static struct iio_chan_spec adis16300_channels[] = { IIO_CHAN_SOFT_TIMESTAMP(14) }; -static const struct iio_chan_spec adis16344_channels[] = { +static const struct iio_chan_spec adis16334_channels[] = { { .type = IIO_GYRO, .modified = 1, @@ -944,9 +944,9 @@ static struct adis16400_chip_info adis16400_chips[] = { (1 << ADIS16300_SCAN_INCLI_X) | (1 << ADIS16300_SCAN_INCLI_Y) | (1 << 14), }, - [ADIS16344] = { - .channels = adis16344_channels, - .num_channels = ARRAY_SIZE(adis16344_channels), + [ADIS16334] = { + .channels = adis16334_channels, + .num_channels = ARRAY_SIZE(adis16334_channels), .gyro_scale_micro = 873, .accel_scale_micro = 981, .default_scan_mask = (1 << ADIS16400_SCAN_GYRO_X) | @@ -1105,7 +1105,7 @@ err_ret: static const struct spi_device_id adis16400_id[] = { {"adis16300", ADIS16300}, - {"adis16344", ADIS16344}, + {"adis16334", ADIS16334}, {"adis16350", ADIS16350}, {"adis16354", ADIS16350}, {"adis16355", ADIS16350}, -- 2.20.1