Re: [PATCH 09/15] staging:iio:adis16260: Fix minor style issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/17/13 15:44, Lars-Peter Clausen wrote:
> Delete some extra whitespace.
> 
> Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx>
Applied to the togreg branch of iio.git

Thanks,

> ---
>  drivers/staging/iio/gyro/adis16260_core.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/iio/gyro/adis16260_core.c b/drivers/staging/iio/gyro/adis16260_core.c
> index c70094f..4b62000 100644
> --- a/drivers/staging/iio/gyro/adis16260_core.c
> +++ b/drivers/staging/iio/gyro/adis16260_core.c
> @@ -131,9 +131,9 @@ static ssize_t adis16260_read_frequency(struct device *dev,
>  		return ret;
>  
>  	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
> -		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;
>  	len = sprintf(buf, "%d SPS\n", sps);
>  	return len;
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux