qcom-charger: smb-lib: correct the usb suspend votable name

Currently the name of the votable that suspends usb is INPUT_SUSPEND.
However, the PMI has two inputs - USB and DC. The dc suspending votable
is correctly named DC_SUSPEND. So rename the INPUT_SUSPEND to an
appropriate name - USB_SUSPEND.

Change-Id: Ia5ea1b139f5e9d560dc6492aa9fc13ffeeda83ca
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
This commit is contained in:
Abhijeet Dharmapurikar 2016-08-24 12:29:50 -07:00
parent c605e110ab
commit 67d71eb938

View file

@ -1808,7 +1808,7 @@ int smblib_create_votables(struct smb_charger *chg)
{
int rc = 0;
chg->usb_suspend_votable = create_votable("INPUT_SUSPEND", VOTE_SET_ANY,
chg->usb_suspend_votable = create_votable("USB_SUSPEND", VOTE_SET_ANY,
smblib_usb_suspend_vote_callback,
chg);
if (IS_ERR(chg->usb_suspend_votable)) {