aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/power_supply.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2016-06-10 14:59:07 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2016-06-10 16:32:33 -0700
commit60fb3405c73ea0bbab942c699496123f9e987c04 (patch)
treedf845bd382a5b25591605966d8dab8ca1ad20e8d /drivers/staging/greybus/power_supply.c
parentgreybus: firmware: Fix spelling mistake (diff)
downloadlinux-dev-60fb3405c73ea0bbab942c699496123f9e987c04.tar.xz
linux-dev-60fb3405c73ea0bbab942c699496123f9e987c04.zip
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>
Diffstat (limited to 'drivers/staging/greybus/power_supply.c')
-rw-r--r--drivers/staging/greybus/power_supply.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/greybus/power_supply.c b/drivers/staging/greybus/power_supply.c
index 8d6570d1bb61..e96c24da007b 100644
--- a/drivers/staging/greybus/power_supply.c
+++ b/drivers/staging/greybus/power_supply.c
@@ -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);