summaryrefslogtreecommitdiff
path: root/kernel/sysctl_binary.c
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-07-18 16:09:08 -0700
committerSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-07-21 12:23:07 -0700
commitf56fc4b5afcdd11e0a53596b9768b728ed495e82 (patch)
tree178878059e1a3981bdec91bd59c2ecf915f878df /kernel/sysctl_binary.c
parentaa958278d16faccd0cc79650b94ea6aa18d4131d (diff)
of_batterydata: Pass battery id directly to find battery profile
Currently power supply name is passed to get the battery profile in of_batterydata_get_best_profile(). This creates a dependency of waiting for the driver that has the power supply class device. Improve this by passing the battery id directly to the API. This way, getting battery id will be the responsibility of caller. CRs-Fixed: 1043798 Change-Id: I7a8c2b2fcc9b43e2e858114f7312fccf96dc3f78 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions