[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <fc4c2ee35d86982c40b1b2955e0c0fc7ff207d52.1452878721.git.bhumirks@gmail.com>
Date: Sat, 16 Jan 2016 01:41:28 +0530
From: Bhumika Goyal <bhumirks@...il.com>
To: linux-kernel@...r.kernel.org
Cc: Bhumika Goyal <bhumirks@...il.com>
Subject: [PATCH 2/2] staging:iio:adc:add space around '-'
This patch adds space around '-' operator.Found using checkpatch.pl
Signed-off-by: Bhumika Goyal <bhumirks@...il.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 9221103..54db0f0 100644
--- a/drivers/staging/iio/adc/ad7192.c
+++ b/drivers/staging/iio/adc/ad7192.c
@@ -376,7 +376,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.9.1
Powered by blists - more mailing lists