mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 12:58:12 -04:00
fsa4480: change io-channel-names
Due to dtsi property name need to change according to iio-channels usage, change this name: typec_accessory_mode -> typec_accessory_mode. Change-Id: I67c220b7b34257bd74ee7536662fddfb7f71883b Signed-off-by: zhouwl <zhouwl@lenovo.com> Reviewed-on: https://gerrit.mot.com/2234591 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Lu Chai <chailu1@motorola.com> Reviewed-by: Hujun Liao <liaohj@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
3777eba3b1
commit
48d7fc4374
1 changed files with 2 additions and 2 deletions
|
|
@ -494,10 +494,10 @@ static int fsa4480_probe(struct i2c_client *i2c,
|
|||
goto err_data;
|
||||
}
|
||||
|
||||
fsa_priv->iio_ch = iio_channel_get(fsa_priv->dev, "typec_mode");
|
||||
fsa_priv->iio_ch = iio_channel_get(fsa_priv->dev, "typec_accessory_mode");
|
||||
if (!fsa_priv->iio_ch) {
|
||||
dev_err(fsa_priv->dev,
|
||||
"%s: iio_channel_get failed for typec_mode\n",
|
||||
"%s: iio_channel_get failed for typec_accessory_mode\n",
|
||||
__func__);
|
||||
goto err_supply;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue