regulator: gpio-regulator: do not pass drvdata pointer as reference
authorHeiko Stübner <heiko@sntech.de>
Sun, 3 Jun 2012 19:30:33 +0000 (21:30 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Jun 2012 09:44:18 +0000 (10:44 +0100)
commit7d4be2f5ad223942577c2319153b86592f3da5b2
treea3d45a53183dd103d54f2f1d5df6e018b278be04
parent0c09d3150902d8ca7e763d508ac1a93701b21321
regulator: gpio-regulator: do not pass drvdata pointer as reference

Commit c172708d38a4 (regulator: core: Use a struct to pass in
regulator runtime configuration) added the drvdata pointer
only per reference to the new config array in the gpio-regulator.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/gpio-regulator.c