All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: iio: adc: Add space around '-'
@ 2016-09-14 11:02 Sandhya Bankar
  2016-09-14 12:27 ` [Outreachy kernel] " Julia Lawall
       [not found] ` <f350e223-7d5a-493e-9f23-836a2af7f86d@googlegroups.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Sandhya Bankar @ 2016-09-14 11:02 UTC (permalink / raw)
  To: outreachy-kernel

Add space around operator '-' . 
This patch is found by checkpatch.pl script .
CHECK: spaces preferred around that '-' (ctx:VxV) . 

Signed-off-by: Sandhya Bankar <bankarsandhya512@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 1cf6b79..5688b29 100644
--- a/drivers/staging/iio/adc/ad7192.c
+++ b/drivers/staging/iio/adc/ad7192.c
@@ -391,7 +391,7 @@ ad7192_show_scale_available(struct device *dev,
 }
 
 static IIO_DEVICE_ATTR_NAMED(in_v_m_v_scale_available,
-			     in_voltage-voltage_scale_available,
+			     in_voltage - voltage_scale_available,
 			     S_IRUGO, ad7192_show_scale_available, NULL, 0);
 
 static IIO_DEVICE_ATTR(in_voltage_scale_available, S_IRUGO,
-- 
1.8.2.3



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

end of thread, other threads:[~2016-09-16 15:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14 11:02 [PATCH] Staging: iio: adc: Add space around '-' Sandhya Bankar
2016-09-14 12:27 ` [Outreachy kernel] " Julia Lawall
2016-09-14 12:35   ` Sandhya Bankar
2016-09-14 12:36     ` Julia Lawall
     [not found] ` <f350e223-7d5a-493e-9f23-836a2af7f86d@googlegroups.com>
2016-09-16 15:15   ` Katie Dunne

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.