diff --git a/[refs] b/[refs] index ed6aca3f183b..8e8b0352d653 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7305608bc888271786e38aa27e63f846367ae842 +refs/heads/master: 0764ef59161a4026c44ca184b7812383feabb769 diff --git a/trunk/drivers/regulator/max8907-regulator.c b/trunk/drivers/regulator/max8907-regulator.c index bdf21a199612..bddc3146c924 100644 --- a/trunk/drivers/regulator/max8907-regulator.c +++ b/trunk/drivers/regulator/max8907-regulator.c @@ -347,7 +347,7 @@ static __devinit int max8907_regulator_probe(struct platform_device *pdev) static __devexit int max8907_regulator_remove(struct platform_device *pdev) { - struct max8907_regulator *pmic; + struct max8907_regulator *pmic = platform_get_drvdata(pdev); int i; for (i = 0; i < MAX8907_NUM_REGULATORS; i++)