summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2016-03-01 17:13:50 -0800
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 19:58:16 -0700
commite95affa9947215cfff8debe5607ddbe1c3a89a25 (patch)
tree40b80d94ade03965afa4e0c112faa92187957ead /include/linux/timerqueue.h
parent638f324728768ac3bd3c93372da9efcc833273da (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/timerqueue.h')
0 files changed, 0 insertions, 0 deletions