iio: trigger: Add a blank line after declarations
PATCH 1/1 iio: trigger: Add a blank line after declarations
This patch fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarations
--- drivers/iio/trigger/iio-trig-sysfs.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/iio/trigger/iio-trig-sysfs.c +2 -0
@@ -135,6 +135,7 @@ static int iio_sysfs_trigger_probe(int id)struct iio_sysfs_trig *t;int ret;bool foundit = false; +mutex_lock (&iio_sysfs_trig_list_mut);list_for_each_entry (t, &iio_sysfs_trig_list, l)if (id == t->id) {
@@ -185,6 +186,7 @@ static int iio_sysfs_trigger_remove(int id) {bool foundit = false;struct iio_sysfs_trig *t; +mutex_lock (&iio_sysfs_trig_list_mut);list_for_each_entry (t, &iio_sysfs_trig_list, l)if (id == t->id) {
Signature · 1 line
1.9.1
Quoted 4 lines · Roberta Dobrescu
This patch fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarationsSigned-off-by Roberta Dobrescu <[email protected]>
Quoted 31 lines
--- drivers/iio/trigger/iio-trig-sysfs.c | 2 ++ 1 file changed, 2 insertions(+)drivers/iio/trigger/iio-trig-sysfs.c +2
-1@@ -135,6 +135,7 @@ static int iio_sysfs_trigger_probe(int id)struct iio_sysfs_trig *t;int ret;bool foundit = false; +mutex_lock (&iio_sysfs_trig_list_mut);list_for_each_entry (t, &iio_sysfs_trig_list, l)if (id == t->id) {@@ -185,6 +186,7 @@ static int iio_sysfs_trigger_remove(int id) {bool foundit = false;struct iio_sysfs_trig *t; +mutex_lock (&iio_sysfs_trig_list_mut);list_for_each_entry (t, &iio_sysfs_trig_list, l)if (id == t->id) { --1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 8 lines · Daniel Baluta
Quoted 4 lines · Roberta Dobrescu
This patch fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarationsSigned-off-by Roberta Dobrescu <[email protected]>Reviewed-by Daniel Baluta <[email protected]>
Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play with it.
Jonathan
Quoted 37 lines
Quoted 28 lines
--- drivers/iio/trigger/iio-trig-sysfs.c | 2 ++ 1 file changed, 2 insertions(+)drivers/iio/trigger/iio-trig-sysfs.c +2
-1@@ -135,6 +135,7 @@ static int iio_sysfs_trigger_probe(int id)struct iio_sysfs_trig *t;int ret;bool foundit = false; +mutex_lock (&iio_sysfs_trig_list_mut);list_for_each_entry (t, &iio_sysfs_trig_list, l)if (id == t->id) {@@ -185,6 +186,7 @@ static int iio_sysfs_trigger_remove(int id) {bool foundit = false;struct iio_sysfs_trig *t; +mutex_lock (&iio_sysfs_trig_list_mut);list_for_each_entry (t, &iio_sysfs_trig_list, l)if (id == t->id) { --1.9.1
Quoted 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html