greybus: minor whitespace cleanups to make checkpatch.pl happy

This commit is contained in:
Greg Kroah-Hartman
2014-09-07 15:57:07 -07:00
parent d47aa76161
commit fe3270425f
2 changed files with 1 additions and 9 deletions

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

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