All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: iio: adc: Added Space around binary op.
@ 2017-09-08  4:47 Himanshi Jain
  2017-09-08  6:04 ` [Outreachy kernel] " Julia Lawall
  2017-09-08  6:29   ` Jonathan Cameron
  0 siblings, 2 replies; 13+ messages in thread
From: Himanshi Jain @ 2017-09-08  4:47 UTC (permalink / raw)
  To: outreachy-kernel, lars, Michael.Hennerich, jic23, knaack.h,
	pmeerw, gregkh, linux-iio, devel, linux-kernel

Added space around(one on each side of) binary
operator(-) as preferred according to kernel
coding style.

Signed-off-by: Himanshi Jain <himshijain.hj@gmail.com>
---
 drivers/staging/iio/adc/ad7192.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c
index d11c6de..1aee662 100644
--- a/drivers/staging/iio/adc/ad7192.c
+++ b/drivers/staging/iio/adc/ad7192.c
@@ -341,7 +341,7 @@ static int ad7192_setup(struct ad7192_state *st,
 }
 
 static IIO_DEVICE_ATTR_NAMED(in_v_m_v_scale_available,
-			     in_voltage-voltage_scale_available,
+			     in_voltage - voltage_scale_available,
 			     0444, ad7192_show_scale_available, NULL, 0);
 
 static IIO_DEVICE_ATTR(in_voltage_scale_available, 0444,
-- 
1.9.1


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

end of thread, other threads:[~2017-09-08 20:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-08  4:47 [PATCH] Staging: iio: adc: Added Space around binary op Himanshi Jain
2017-09-08  6:04 ` [Outreachy kernel] " Julia Lawall
2017-09-08  6:29 ` Jonathan Cameron
2017-09-08  6:29   ` Jonathan Cameron
2017-09-08  9:32   ` Jonathan Cameron
2017-09-08  9:37     ` Lars-Peter Clausen
2017-09-08  9:46       ` Jonathan Cameron
2017-09-08  9:59       ` [Outreachy kernel] " Julia Lawall
2017-09-08 10:11         ` Lars-Peter Clausen
2017-09-08 10:32           ` Julia Lawall
     [not found]             ` <bd51f23b-a84d-460d-9a7c-7b3b3213def7@googlegroups.com>
2017-09-08 12:03               ` Julia Lawall
2017-09-08 19:28                 ` Himanshi Jain
2017-09-08 20:09                   ` Julia Lawall

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.