diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-01-31 09:27:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-02-02 04:21:56 -0500 |
commit | ceac0cf209842e49c277ac301d4ce69b4db8239b (patch) | |
tree | 47b4cf8323c14303b51133a3e4125840ec92bf57 | |
parent | 9a26578c811e6f4de24d81ef734b17c401e5080f (diff) |
staging:iio:adxrs450: Don't spam the bootlog
Don't spam the bootlog with the devices part id and serial number.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/staging/iio/gyro/adxrs450_core.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/iio/gyro/adxrs450_core.c b/drivers/staging/iio/gyro/adxrs450_core.c index 96e52844377b..24b7a0f6f1fd 100644 --- a/drivers/staging/iio/gyro/adxrs450_core.c +++ b/drivers/staging/iio/gyro/adxrs450_core.c | |||
@@ -231,20 +231,6 @@ static int adxrs450_initial_setup(struct iio_dev *indio_dev) | |||
231 | dev_err(&st->us->dev, "The device is not in normal status!\n"); | 231 | dev_err(&st->us->dev, "The device is not in normal status!\n"); |
232 | return -EINVAL; | 232 | return -EINVAL; |
233 | } | 233 | } |
234 | ret = adxrs450_spi_read_reg_16(indio_dev, ADXRS450_PID1, &data); | ||
235 | if (ret) | ||
236 | return ret; | ||
237 | dev_info(&st->us->dev, "The Part ID is 0x%x\n", data); | ||
238 | |||
239 | ret = adxrs450_spi_read_reg_16(indio_dev, ADXRS450_SNL, &data); | ||
240 | if (ret) | ||
241 | return ret; | ||
242 | t = data; | ||
243 | ret = adxrs450_spi_read_reg_16(indio_dev, ADXRS450_SNH, &data); | ||
244 | if (ret) | ||
245 | return ret; | ||
246 | t |= data << 16; | ||
247 | dev_info(&st->us->dev, "The Serial Number is 0x%x\n", t); | ||
248 | 234 | ||
249 | return 0; | 235 | return 0; |
250 | } | 236 | } |