mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
staging:iio:adis16260: Fix minor style issue
Delete some extra whitespace. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
73149badce
commit
8aa55d103c
@ -131,9 +131,9 @@ static ssize_t adis16260_read_frequency(struct device *dev,
|
|||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if (spi_get_device_id(adis->spi)->driver_data) /* If an adis16251 */
|
if (spi_get_device_id(adis->spi)->driver_data) /* If an adis16251 */
|
||||||
sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 8 : 256;
|
sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 8 : 256;
|
||||||
else
|
else
|
||||||
sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 66 : 2048;
|
sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 66 : 2048;
|
||||||
sps /= (t & ADIS16260_SMPL_PRD_DIV_MASK) + 1;
|
sps /= (t & ADIS16260_SMPL_PRD_DIV_MASK) + 1;
|
||||||
len = sprintf(buf, "%d SPS\n", sps);
|
len = sprintf(buf, "%d SPS\n", sps);
|
||||||
return len;
|
return len;
|
||||||
|
Loading…
Reference in New Issue
Block a user