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,
};
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;
#include "greybus.h"
-
/**
* greybus_alloc_gbuf - allocate a greybus buffer
*
{
/* drop the reference count and get out of here */
kref_put_mutex(&gbuf->kref, free_gbuf, &gbuf_mutex);
-
}
EXPORT_SYMBOL_GPL(greybus_free_gbuf);
}
EXPORT_SYMBOL_GPL(greybus_get_gbuf);
-
-
int greybus_submit_gbuf(struct gbuf *gbuf, gfp_t mem_flags)
{
return -ENOMEM;
{
return -ENOMEM;
}
-
-
-