Skip to content

Commit

Permalink
staging:iio:imu:adis16400 rename adis16344 -> adis16334.
Browse files Browse the repository at this point in the history
Part never existed under that name. Ooops

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Oct 3, 2011
1 parent 31bf47d commit 85da505
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions drivers/staging/iio/imu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 6 additions & 6 deletions drivers/staging/iio/imu/adis16400_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

enum adis16400_chip_variant {
ADIS16300,
ADIS16344,
ADIS16334,
ADIS16350,
ADIS16360,
ADIS16362,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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) |
Expand Down Expand Up @@ -1105,7 +1105,7 @@ static int adis16400_remove(struct spi_device *spi)

static const struct spi_device_id adis16400_id[] = {
{"adis16300", ADIS16300},
{"adis16344", ADIS16344},
{"adis16334", ADIS16334},
{"adis16350", ADIS16350},
{"adis16354", ADIS16350},
{"adis16355", ADIS16350},
Expand Down

0 comments on commit 85da505

Please sign in to comment.