]> git.karo-electronics.de Git - linux-beck.git/commitdiff
greybus: Remove extra blank lines
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 10 Jun 2016 09:29:07 +0000 (14:59 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 10 Jun 2016 23:32:33 +0000 (16:32 -0700)
This patch removes few blank lines across the repository at places where
two blank lines were present together or when a blank line is present at
the start or end of a routine.

Note that this doesn't remove most of them from greybus_protocols.h as
they were added on purpose.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
12 files changed:
drivers/staging/greybus/audio_codec.c
drivers/staging/greybus/audio_module.c
drivers/staging/greybus/audio_topology.c
drivers/staging/greybus/bundle.c
drivers/staging/greybus/connection.c
drivers/staging/greybus/gpio.c
drivers/staging/greybus/hid.c
drivers/staging/greybus/power_supply.c
drivers/staging/greybus/pwm.c
drivers/staging/greybus/spilib.c
drivers/staging/greybus/svc.c
drivers/staging/greybus/uart.c

index 2feac6beea57d1c1c4992eda9f72f2ec63f1fc5e..45e12b1d862782e35650a61cc73297c22e0d79b8 100644 (file)
@@ -1164,7 +1164,6 @@ static struct snd_soc_codec_driver soc_codec_dev_gbaudio = {
        .ignore_pmdown_time = 1,
 };
 
-
 #ifdef CONFIG_PM
 static int gbaudio_codec_suspend(struct device *dev)
 {
index 81001329aad236d24737de1523ed3565830af529..d87b9985a0e2a803df80902384189ae0879163cd 100644 (file)
@@ -221,7 +221,6 @@ static int gb_audio_probe(struct gb_bundle *bundle,
        int ret, i;
        struct gb_audio_topology *topology;
 
-
        /* There should be at least one Management and one Data cport */
        if (bundle->num_cports < 2)
                return -ENODEV;
@@ -367,7 +366,6 @@ static void gb_audio_disconnect(struct gb_bundle *bundle)
        struct gbaudio_module_info *gbmodule = greybus_get_drvdata(bundle);
        struct gbaudio_data_connection *dai, *_dai;
 
-
        /* cleanup module related resources first */
        gbaudio_unregister_module(gbmodule);
 
index 1e0768670b69da9d2d937623fcb92a8e32e41cb0..1f9e8b6178dd55f5c248f2454b9e4bfce21fab8b 100644 (file)
@@ -872,7 +872,6 @@ static int gbaudio_tplg_process_routes(struct gbaudio_module_info *module,
        if (!dapm_routes)
                return -ENOMEM;
 
-
        module->dapm_routes = dapm_routes;
        curr = routes;
 
index c1c3d67a027947ac6efc991c08cd8eca47f90ecd..80f54c9775093e63ec3376eeff994addc424a0ad 100644 (file)
@@ -56,7 +56,6 @@ static ssize_t state_store(struct device *dev, struct device_attribute *attr,
 }
 static DEVICE_ATTR_RW(state);
 
-
 static struct attribute *bundle_attrs[] = {
        &dev_attr_bundle_class.attr,
        &dev_attr_bundle_id.attr,
index e0ee82f45de1952f13fb5c516d9faa596c224056..28076d014177632a3147218cb6948c03afa3314b 100644 (file)
@@ -513,7 +513,6 @@ gb_connection_control_disconnected(struct gb_connection *connection)
                return;
        }
 
-
        ret = gb_control_disconnected_operation(control, cport_id);
        if (ret) {
                dev_warn(&connection->bundle->dev,
index f60cc1da9f055b26c4e8f4fe4f8751a0e82efa24..deae2658c7a8bfda37b6abce923e03fc90cc278c 100644 (file)
@@ -556,7 +556,6 @@ static void gb_gpio_irqchip_remove(struct gb_gpio_controller *ggc)
        }
 }
 
-
 /**
  * gb_gpio_irqchip_add() - adds an irqchip to a gpio chip
  * @chip: the gpio chip to add the irqchip to
index fd4a7e096450869cbd2a5190886bd1db1b588592..ca0c94949c6bf3cceab395a4192bd1c16c56b58a 100644 (file)
@@ -116,7 +116,6 @@ static int gb_hid_request_handler(struct gb_operation *op)
        return 0;
 }
 
-
 static int gb_hid_report_len(struct hid_report *report)
 {
        return ((report->size - 1) >> 3) + 1 +
index 8d6570d1bb61caf3ab4731a71b262f7f419f98ab..e96c24da007b2f45d3f6eacb5ad910abd936d6fc 100644 (file)
@@ -290,7 +290,6 @@ static int gb_power_supply_prop_descriptors_get(struct gb_power_supply *gbpsy)
                goto out_put_operation;
        }
 
-
        /* Store available properties */
        for (i = 0; i < gbpsy->properties_count; i++) {
                gbpsy->props[i].prop = resp->props[i].property;
@@ -512,7 +511,6 @@ static int property_is_writeable(struct power_supply *b,
        return is_psy_prop_writeable(gbpsy, psp);
 }
 
-
 #ifndef CORE_OWNS_PSY_STRUCT
 static int gb_power_supply_register(struct gb_power_supply *gbpsy)
 {
@@ -562,7 +560,6 @@ static void _gb_power_supply_free(struct gb_power_supply *gbpsy)
 
 static void _gb_power_supply_release(struct gb_power_supply *gbpsy)
 {
-
        gbpsy->update_interval = 0;
 
        cancel_delayed_work_sync(&gbpsy->work);
index 713123231251c57d48c6058b840e4f68a8561ca6..1438b2e12cee4d9e60ef4c44501cbe268c038ca5 100644 (file)
@@ -80,7 +80,6 @@ static int gb_pwm_config_operation(struct gb_pwm_chip *pwmc,
                                 &request, sizeof(request), NULL, 0);
 }
 
-
 static int gb_pwm_set_polarity_operation(struct gb_pwm_chip *pwmc,
                                         u8 which, u8 polarity)
 {
index 79ae044b78f30e22eb7751c5b389ecc34421f7c2..527909b26d79ac22a77d9546862cda755270da5d 100644 (file)
@@ -383,7 +383,6 @@ static void gb_spi_cleanup(struct spi_device *spi)
        /* Nothing to do for now */
 }
 
-
 /* Routines to get controller information */
 
 /*
index cee058fe51881db94331e953299b9fe92afc96ed..d467ceb0916df8a4588dbd70cf16cf8981921946 100644 (file)
@@ -44,7 +44,6 @@ static ssize_t ap_intf_id_show(struct device *dev,
 }
 static DEVICE_ATTR_RO(ap_intf_id);
 
-
 // FIXME
 // This is a hack, we need to do this "right" and clean the interface up
 // properly, not just forcibly yank the thing out of the system and hope for the
index 7460bdbd0a1a5e2484e51ce2068ae2289148a074..6260569b2f25672c906ff96415113d51083ee6c6 100644 (file)
@@ -597,7 +597,6 @@ static void gb_tty_throttle(struct tty_struct *tty)
                gb_tty->ctrlout &= ~GB_UART_CTRL_RTS;
                retval = send_control(gb_tty, gb_tty->ctrlout);
        }
-
 }
 
 static void gb_tty_unthrottle(struct tty_struct *tty)
@@ -710,7 +709,6 @@ static int wait_serial_change(struct gb_tty *gb_tty, unsigned long arg)
        } while (!retval);
 
        return retval;
-
 }
 
 static int get_serial_usage(struct gb_tty *gb_tty,
@@ -924,7 +922,6 @@ static int gb_uart_probe(struct gbphy_device *gbphy_dev,
                goto exit_connection_disable;
        }
 
-
        return 0;
 
 exit_connection_disable: