提交 85da5059 编写于 作者: J Jonathan Cameron 提交者: Greg Kroah-Hartman

staging:iio:imu:adis16400 rename adis16344 -> adis16334.

Part never existed under that name. Ooops
Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 31bf47d5
......@@ -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
......@@ -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 @@ 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},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册