regulator: s2mps11: Fix wrong setting for config.dev
authorAxel Lin <axel.lin@gmail.com>
Thu, 12 Jul 2012 01:37:37 +0000 (09:37 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 12 Jul 2012 17:06:48 +0000 (18:06 +0100)
commit232b25047515127cdf1a84c09de79570de7e4d78
tree70298c28b9d8894c65d7ee711c3f27c01feb3676
parent2693fcab1acf6d6d5cb6d1c4dc9bb8a32e13f782
regulator: s2mps11: Fix wrong setting for config.dev

Currently s2mps11->iodev, s2mps11->dev and config.dev point to NULL.
This patch fixes the settings for config.dev.
Current code does not need the *dev and *iodev of struct s2mps11_info,
so remove them.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/s2mps11.c