commit | 68b1309be689ec4e93d2b48e09ccaaa8abf5b0b6 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Fri Feb 12 16:08:33 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Mon Feb 15 14:53:43 2016 -0800 |
tree | 06a84b48000cbd04422efb1eed00c59cef5f22dc | |
parent | 7e9fba8df7606bcace9d22394f59c2047dd55091 [diff] |
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>