aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorRoberta Dobrescu <roberta.dobrescu@gmail.com>2014-12-16 04:16:06 -0500
committerJonathan Cameron <jic23@kernel.org>2014-12-26 07:15:36 -0500
commit450a5ff768b008817d7914e3d2db16400e571dff (patch)
tree46d57e1fcc253ab254485f48d3f32147d49ef6af /drivers/iio
parent60347e71c0d1f001aab75cb2569729980e2d737a (diff)
iio: trigger: Add a blank line after declarations
This patch fixes the following checkpatch.pl warning: WARNING: Missing a blank line after declarations Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com> Reviewed-by: Daniel Baluta <daniel.baluta@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/trigger/iio-trig-sysfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/iio/trigger/iio-trig-sysfs.c b/drivers/iio/trigger/iio-trig-sysfs.c
index 254c7e906127..3dfab2bc6d69 100644
--- a/drivers/iio/trigger/iio-trig-sysfs.c
+++ b/drivers/iio/trigger/iio-trig-sysfs.c
@@ -135,6 +135,7 @@ static int iio_sysfs_trigger_probe(int id)
135 struct iio_sysfs_trig *t; 135 struct iio_sysfs_trig *t;
136 int ret; 136 int ret;
137 bool foundit = false; 137 bool foundit = false;
138
138 mutex_lock(&iio_sysfs_trig_list_mut); 139 mutex_lock(&iio_sysfs_trig_list_mut);
139 list_for_each_entry(t, &iio_sysfs_trig_list, l) 140 list_for_each_entry(t, &iio_sysfs_trig_list, l)
140 if (id == t->id) { 141 if (id == t->id) {
@@ -185,6 +186,7 @@ static int iio_sysfs_trigger_remove(int id)
185{ 186{
186 bool foundit = false; 187 bool foundit = false;
187 struct iio_sysfs_trig *t; 188 struct iio_sysfs_trig *t;
189
188 mutex_lock(&iio_sysfs_trig_list_mut); 190 mutex_lock(&iio_sysfs_trig_list_mut);
189 list_for_each_entry(t, &iio_sysfs_trig_list, l) 191 list_for_each_entry(t, &iio_sysfs_trig_list, l)
190 if (id == t->id) { 192 if (id == t->id) {