staging: iio: trigger: add blank lines after declarations
authorCatalina Mocanu <catalina.mocanu@gmail.com>
Fri, 19 Sep 2014 21:32:09 +0000 (14:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2014 23:25:09 +0000 (16:25 -0700)
This fixes the following checkpatch.pl warning:
WARNING: Missing a blank line after declarations.

Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/trigger/iio-trig-periodic-rtc.c

index b1aeb88273c9b5f9ee952ffae357d20c8d7f2577..8f0a2ffa7150366aa743f6ac9dcc89dc4714252b 100644 (file)
@@ -33,6 +33,7 @@ static int iio_trig_periodic_rtc_set_state(struct iio_trigger *trig, bool state)
 {
        struct iio_prtc_trigger_info *trig_info = iio_trigger_get_drvdata(trig);
        int ret;
+
        if (trig_info->frequency == 0 && state)
                return -EINVAL;
        dev_dbg(&trig_info->rtc->dev, "trigger frequency is %d\n",
@@ -50,6 +51,7 @@ static ssize_t iio_trig_periodic_read_freq(struct device *dev,
 {
        struct iio_trigger *trig = to_iio_trigger(dev);
        struct iio_prtc_trigger_info *trig_info = iio_trigger_get_drvdata(trig);
+
        return sprintf(buf, "%u\n", trig_info->frequency);
 }
 
@@ -183,6 +185,7 @@ static int iio_trig_periodic_rtc_remove(struct platform_device *dev)
 {
        struct iio_trigger *trig, *trig2;
        struct iio_prtc_trigger_info *trig_info;
+
        mutex_lock(&iio_prtc_trigger_list_lock);
        list_for_each_entry_safe(trig,
                                 trig2,