All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] Staging: iio: Remove space before tabs
@ 2015-02-26 15:39 Haneen Mohammed
  2015-02-26 16:15 ` [Outreachy kernel] " Julia Lawall
  0 siblings, 1 reply; 3+ messages in thread
From: Haneen Mohammed @ 2015-02-26 15:39 UTC (permalink / raw)
  To: outreachy-kernel; +Cc: Haneen Mohammed

This patch removes space before tabs addressing checkpatch.pl warning.

Signed-off-by: Haneen Mohammed <hamohammed.sa@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}
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Outreachy kernel] [PATCH 2/2] Staging: iio: Remove space before tabs
  2015-02-26 15:39 [PATCH 2/2] Staging: iio: Remove space before tabs Haneen Mohammed
@ 2015-02-26 16:15 ` Julia Lawall
  2015-02-26 20:35   ` Haneen Mohammed
  0 siblings, 1 reply; 3+ messages in thread
From: Julia Lawall @ 2015-02-26 16:15 UTC (permalink / raw)
  To: Haneen Mohammed; +Cc: outreachy-kernel

On Thu, 26 Feb 2015, Haneen Mohammed wrote:

> This patch removes space before tabs addressing checkpatch.pl warning.
>
> Signed-off-by: Haneen Mohammed <hamohammed.sa@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

It's a comment.  The original text was more readable.

julia

>   */
>  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 outreachy-kernel+unsubscribe@googlegroups.com.
> To post to this group, send email to outreachy-kernel@googlegroups.com.
> 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.
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Outreachy kernel] [PATCH 2/2] Staging: iio: Remove space before tabs
  2015-02-26 16:15 ` [Outreachy kernel] " Julia Lawall
@ 2015-02-26 20:35   ` Haneen Mohammed
  0 siblings, 0 replies; 3+ messages in thread
From: Haneen Mohammed @ 2015-02-26 20:35 UTC (permalink / raw)
  To: Julia Lawall, outreachy-kernel

On Thu, Feb 26, 2015 at 05:15:00PM +0100, Julia Lawall wrote:
> On Thu, 26 Feb 2015, Haneen Mohammed wrote:
> 
> > This patch removes space before tabs addressing checkpatch.pl warning.
> >
> > Signed-off-by: Haneen Mohammed <hamohammed.sa@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
> 
> It's a comment.  The original text was more readable.
> 
> julia
> 

yes, I shouldn't have followed checkpatch script blindly! thanks.

> >   */
> >  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 outreachy-kernel+unsubscribe@googlegroups.com.
> > To post to this group, send email to outreachy-kernel@googlegroups.com.
> > 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.
> >


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-26 20:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-26 15:39 [PATCH 2/2] Staging: iio: Remove space before tabs Haneen Mohammed
2015-02-26 16:15 ` [Outreachy kernel] " Julia Lawall
2015-02-26 20:35   ` Haneen Mohammed

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.