Staging: iio: Remove space before tabs
PATCH 2/2 Staging: iio: Remove space before tabs
This patch removes space before tabs addressing checkpatch.pl warning.
--- drivers/iio/accel/mma8452.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/accel/mma8452.c +1 -1
@@ -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 }
Signature · 1 line
1.9.1
Quoted 12 lines · Haneen Mohammed
This patch removes space before tabs addressing checkpatch.pl warning.
Signed-off-by Haneen Mohammed <[email protected]>--- drivers/iio/accel/mma8452.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iio/accel/mma8452.c +0
-0
drivers/iio/accel/mma8452.c static const int mma8452_samp_freq[8][2] = { · line 119
Quoted 5 lines
drivers/iio/accel/mma8452.c +1
-1@@ -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
It's a comment. The original text was more readable.
julia
Quoted 13 lines
drivers/iio/accel/mma8452.c +0
-1*/ static const int mma8452_scales[3 ][2 ] = { {0 ,9577 }, {0 ,19154 }, {0 ,38307 } --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424965153-8759-1-git-send-email-hamohammed.sa%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
Quoted 22 lines · Julia Lawall
Quoted 12 lines · Haneen Mohammed
This patch removes space before tabs addressing checkpatch.pl warning.
Signed-off-by Haneen Mohammed <[email protected]>--- drivers/iio/accel/mma8452.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iio/accel/mma8452.c +0
-0drivers/iio/accel/mma8452.c static const int mma8452_samp_freq[8][2] = { · line 119
Quoted 5 lines
drivers/iio/accel/mma8452.c +1
-1@@ -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 It's a comment. The original text was more readable.
Quoted 2 lines
julia
yes, I shouldn't have followed checkpatch script blindly! thanks.
Quoted 13 lines
Quoted 13 lines
drivers/iio/accel/mma8452.c +0
-1*/ static const int mma8452_scales[3 ][2 ] = { {0 ,9577 }, {0 ,19154 }, {0 ,38307 } --1.9.1
--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/1424965153-8759-1-git-send-email-hamohammed.sa%40gmail.com.
For more options, visit https://groups.google.com/d/optout.