]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3f657760f5b1684d19d6d163965a33b1c5853628
treea3d45a53183dd103d54f2f1d5df6e018b278be04
parent7653d1cb5e8d8fde2aab1357dcd2a3e77df242b0
regulator: gpio-regulator: do not pass drvdata pointer as reference

Commit 8d09a91f0b32 (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