diff options
author | Axel Lin <[email protected]> | 2012-08-18 14:33:05 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2012-08-28 11:00:29 -0700 |
commit | 0764ef59161a4026c44ca184b7812383feabb769 (patch) | |
tree | 6ce5f9d3f09732b861c7d31dfdf8719a781952de /lib/mpi/mpi-inline.h | |
parent | 7305608bc888271786e38aa27e63f846367ae842 (diff) |
regulator: max8907: Properly set pmic pointer in max8907_regulator_remove()
Add missing platform_get_drvdata() call in max8907_regulator_remove(), this
fixes below build warning:
CC [M] drivers/regulator/max8907-regulator.o
drivers/regulator/max8907-regulator.c: In function 'max8907_regulator_remove':
drivers/regulator/max8907-regulator.c:353:23: warning: 'pmic' is used uninitialized in this function [-Wuninitialized]
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions