[PATCH 3/4] iio: accel: Remove space before tabs

Daniel Baluta daniel.baluta at gmail.com
Tue Dec 16 11:15:09 EET 2014


On Sat, Dec 13, 2014 at 11:55 AM, Roberta Dobrescu
<roberta.dobrescu at gmail.com> wrote:
> This patch fixes the following checkpatch.pl warning:
> WARNING: please, no space before tabs
>
> Signed-off-by: Roberta Dobrescu <roberta.dobrescu at gmail.com>
> ---
>  drivers/iio/accel/mma8452.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/iio/accel/mma8452.c b/drivers/iio/accel/mma8452.c
> index 221c9d2..fcfa0a6 100644
> --- a/drivers/iio/accel/mma8452.c
> +++ b/drivers/iio/accel/mma8452.c
> @@ -116,7 +116,7 @@ static const int mma8452_samp_freq[8][2] = {
>   * Hardware has fullscale of -2G, -4G, -8G corresponding to raw value -2048
>   * The userspace interface uses m/s^2 and we declare micro units
>   * So scale factor is given by:
> - *     g * N * 1000000 / 2048 for N = 2, 4, 8 and g=9.80665
> + * g * N * 1000000 / 2048 for N = 2, 4, 8 and g=9.80665
>   */
>  static const int mma8452_scales[3][2] = {
>         {0, 9577}, {0, 19154}, {0, 38307}
> --

This is a false positive. Such case is valid inside comments.

thanks,
Daniel.


More information about the firefly mailing list