diff options
| -rw-r--r-- | drivers/extcon/extcon-max77693.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max77693.c b/drivers/extcon/extcon-max77693.c index 93ca93f26f4f..8bf5e4835b4c 100644 --- a/drivers/extcon/extcon-max77693.c +++ b/drivers/extcon/extcon-max77693.c | |||
| @@ -672,9 +672,10 @@ static int __devinit max77693_muic_probe(struct platform_device *pdev) | |||
| 672 | info->max77693->muic, | 672 | info->max77693->muic, |
| 673 | &max77693_muic_regmap_config); | 673 | &max77693_muic_regmap_config); |
| 674 | if (IS_ERR(info->max77693->regmap_muic)) { | 674 | if (IS_ERR(info->max77693->regmap_muic)) { |
| 675 | ret = PTR_ERR(info->max77693->regmap_muic); | ||
| 675 | dev_err(max77693->dev, | 676 | dev_err(max77693->dev, |
| 676 | "failed to allocate register map: %d\n", ret); | 677 | "failed to allocate register map: %d\n", ret); |
| 677 | return PTR_ERR(info->max77693->regmap_muic); | 678 | return ret; |
| 678 | } | 679 | } |
| 679 | } | 680 | } |
| 680 | platform_set_drvdata(pdev, info); | 681 | platform_set_drvdata(pdev, info); |
