greybus: Remove extra blank lines

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>
This commit is contained in:
Viresh Kumar 2016-06-10 14:59:07 +05:30 committed by Greg Kroah-Hartman
parent 6554efa28e
commit 60fb3405c7
12 changed files with 0 additions and 17 deletions

View 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)
{

View 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);

View 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;

View 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,

View 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,

View 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

View 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 +

View 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);

View 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)
{

View File

@ -383,7 +383,6 @@ static void gb_spi_cleanup(struct spi_device *spi)
/* Nothing to do for now */
}
/* Routines to get controller information */
/*

View 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

View 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: