diff options
| author | Rohit Vaswani <rvaswani@codeaurora.org> | 2016-03-01 17:13:50 -0800 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 19:58:16 -0700 |
| commit | e95affa9947215cfff8debe5607ddbe1c3a89a25 (patch) | |
| tree | 40b80d94ade03965afa4e0c112faa92187957ead /include/linux | |
| parent | 638f324728768ac3bd3c93372da9efcc833273da (diff) | |
power_supply: smbcharger: use psy pointers to check init
The current driver uses a boolean flag psy_registered to track
whether the power supplies are initialized. Instead check if the
psy pointers are non null to ensure they are initialized.
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
