No description
Find a file
Viresh Kumar 68b1309be6 greybus: power_supply: convert to bundle driver
Convert the legacy power_supply protocol driver to a bundle driver.

This also fixes a potential crash should a (malicious) module have sent
an early request before the private data had been initialised.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2016-02-15 14:53:43 -08:00
drivers/staging/greybus greybus: power_supply: convert to bundle driver 2016-02-15 14:53:43 -08:00