On 16/12/14 11:25, Daniel Baluta wrote: > On Tue, Dec 16, 2014 at 11:16 AM, Roberta Dobrescu > <roberta.dobrescu@xxxxxxxxx> wrote: >> This patch fixes the following checkpatch.pl warning: >> WARNING: Missing a blank line after declarations >> >> Signed-off-by: Roberta Dobrescu <roberta.dobrescu@xxxxxxxxx> > > Reviewed-by: Daniel Baluta <daniel.baluta@xxxxxxxxx> Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play with it. Jonathan > >> --- >> drivers/iio/trigger/iio-trig-sysfs.c | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/iio/trigger/iio-trig-sysfs.c b/drivers/iio/trigger/iio-trig-sysfs.c >> index 254c7e9..3dfab2b 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) >> 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 majordomo@xxxxxxxxxxxxxxx >> 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 majordomo@xxxxxxxxxxxxxxx > 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 majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html