]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: s5m8767: Check pdata->buck[2|3|4]_gpiodvs earlier
authorAxel Lin <axel.lin@gmail.com>
Sat, 10 Mar 2012 00:43:02 +0000 (08:43 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 14 Mar 2012 14:10:30 +0000 (14:10 +0000)
commit09ef62ed8256828ac51e7df1893d034f50054f71
treefe1549582fe80b18bf90cf92bc35ff321d05ee7e
parent29c257fca4e4b987cfe66722d7b033ef8d54c6ea
regulator: s5m8767: Check pdata->buck[2|3|4]_gpiodvs earlier

If we need to ensure only one of the buck[2|3|4]_gpiodvs can be specificed,
check them earlier.

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/s5m8767.c