Commit fe327042 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: minor whitespace cleanups to make checkpatch.pl happy

parent d47aa761
......@@ -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;
......
......@@ -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;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment