greybus: minor whitespace cleanups to make checkpatch.pl happy
authorGreg Kroah-Hartman <greg@kroah.com>
Sun, 7 Sep 2014 22:57:07 +0000 (15:57 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Sun, 7 Sep 2014 22:57:07 +0000 (15:57 -0700)
drivers/staging/greybus/battery-gb.c
drivers/staging/greybus/gbuf.c

index 242b34f..7d12433 100644 (file)
@@ -90,7 +90,6 @@ static int get_property(struct power_supply *b,
        return 0;
 }
 
-
 // FIXME - verify this list, odds are some can be removed and others added.
 static enum power_supply_property battery_props[] = {
        POWER_SUPPLY_PROP_TECHNOLOGY,
@@ -102,7 +101,7 @@ static enum power_supply_property battery_props[] = {
 };
 
 int gb_battery_probe(struct greybus_device *gdev,
-                const struct greybus_module_id *id)
+                    const struct greybus_module_id *id)
 {
        struct gb_battery *gb;
        struct power_supply *b;
index 1444b3f..1bf9226 100644 (file)
@@ -18,7 +18,6 @@
 
 #include "greybus.h"
 
-
 /**
  * greybus_alloc_gbuf - allocate a greybus buffer
  *
@@ -85,7 +84,6 @@ void greybus_free_gbuf(struct gbuf *gbuf)
 {
        /* drop the reference count and get out of here */
        kref_put_mutex(&gbuf->kref, free_gbuf, &gbuf_mutex);
-
 }
 EXPORT_SYMBOL_GPL(greybus_free_gbuf);
 
@@ -98,8 +96,6 @@ struct gbuf *greybus_get_gbuf(struct gbuf *gbuf)
 }
 EXPORT_SYMBOL_GPL(greybus_get_gbuf);
 
-
-
 int greybus_submit_gbuf(struct gbuf *gbuf, gfp_t mem_flags)
 {
        return -ENOMEM;
@@ -109,6 +105,3 @@ int greybus_kill_gbuf(struct gbuf *gbuf)
 {
        return -ENOMEM;
 }
-
-
-