]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: iio: trigger: Alignment should match open parenthesis
authorCristina Opriceana <cristina.opriceana@gmail.com>
Tue, 11 Aug 2015 10:18:18 +0000 (13:18 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 00:36:24 +0000 (17:36 -0700)
Fix alignment for function parameters as suggested by checkpatch.pl.

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/trigger/iio-trig-bfin-timer.c
drivers/staging/iio/trigger/iio-trig-periodic-rtc.c

index 3c1c8c6c4a6c8ea224edab37c1f64f8d87f8d9e2..9fe48ef11473c204fae7e8a3fb542ded85226eee 100644 (file)
@@ -79,7 +79,8 @@ static int iio_bfin_tmr_set_state(struct iio_trigger *trig, bool state)
 }
 
 static ssize_t iio_bfin_tmr_frequency_store(struct device *dev,
-               struct device_attribute *attr, const char *buf, size_t count)
+                                           struct device_attribute *attr,
+                                           const char *buf, size_t count)
 {
        struct iio_trigger *trig = to_iio_trigger(dev);
        struct bfin_tmr_state *st = iio_trigger_get_drvdata(trig);
@@ -116,8 +117,8 @@ static ssize_t iio_bfin_tmr_frequency_store(struct device *dev,
 }
 
 static ssize_t iio_bfin_tmr_frequency_show(struct device *dev,
-                                struct device_attribute *attr,
-                                char *buf)
+                                          struct device_attribute *attr,
+                                          char *buf)
 {
        struct iio_trigger *trig = to_iio_trigger(dev);
        struct bfin_tmr_state *st = iio_trigger_get_drvdata(trig);
index 0c1976ddee7489c6d4165e3e4e01990e0b7952e3..a2a42c2922114b3fec8761614990d283d504b1bd 100644 (file)
@@ -37,7 +37,7 @@ static int iio_trig_periodic_rtc_set_state(struct iio_trigger *trig, bool state)
        if (trig_info->frequency == 0 && state)
                return -EINVAL;
        dev_dbg(&trig_info->rtc->dev, "trigger frequency is %u\n",
-                       trig_info->frequency);
+               trig_info->frequency);
        ret = rtc_irq_set_state(trig_info->rtc, &trig_info->task, state);
        if (ret == 0)
                trig_info->state = state;