staging: nvec: insert blank lines after declarations
authorPawel Lebioda <pawel.lebioda89@gmail.com>
Thu, 3 Jul 2014 19:15:57 +0000 (21:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:14:06 +0000 (12:14 -0700)
This patch fixes coding style warnings reported by checkpatch.pl:
"Missing a blank line after declarations".

Signed-off-by: Pawel Lebioda <pawel.lebioda89@gmail.com>
Acked-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec_paz00.c
drivers/staging/nvec/nvec_power.c
drivers/staging/nvec/nvec_ps2.c

index 934b796222a26b7767e40626b4b194099034b05e..e2e675a6e95ade26f61bd6ddf03f51025fb5924e 100644 (file)
@@ -35,6 +35,7 @@ static void nvec_led_brightness_set(struct led_classdev *led_cdev,
 {
        struct nvec_led *led = to_nvec_led(led_cdev);
        unsigned char buf[] = NVEC_LED_REQ;
+
        buf[4] = value;
 
        nvec_write_async(led->nvec, buf, sizeof(buf));
index aacfcd6954a371ab23e47491230818a644b7e772..6446e151866f69c5afa66a386021a5e784d07d30 100644 (file)
@@ -226,6 +226,7 @@ static int nvec_power_get_property(struct power_supply *psy,
                                   union power_supply_propval *val)
 {
        struct nvec_power *power = dev_get_drvdata(psy->dev->parent);
+
        switch (psp) {
        case POWER_SUPPLY_PROP_ONLINE:
                val->intval = power->on;
index 45b2f1308e013216657d7c4a54518eac3188a814..f56f1db15bad64f3c890bfb63c8b978d065cdd64 100644 (file)
@@ -53,12 +53,14 @@ static struct nvec_ps2 ps2_dev;
 static int ps2_startstreaming(struct serio *ser_dev)
 {
        unsigned char buf[] = { NVEC_PS2, AUTO_RECEIVE_N, PACKET_SIZE };
+
        return nvec_write_async(ps2_dev.nvec, buf, sizeof(buf));
 }
 
 static void ps2_stopstreaming(struct serio *ser_dev)
 {
        unsigned char buf[] = { NVEC_PS2, CANCEL_AUTO_RECEIVE };
+
        nvec_write_async(ps2_dev.nvec, buf, sizeof(buf));
 }
 
This page took 0.02638 seconds and 5 git commands to generate.