]> rtime.felk.cvut.cz Git - linux-imx.git/commit
regulator: core: Mark all get and enable calls as __must_check
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 19 Mar 2012 16:35:48 +0000 (16:35 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Mar 2013 02:35:58 +0000 (10:35 +0800)
commitc8801a8e715d7793e1e7bcd2f6fe132234741753
treeca5fc3c1f3bbc1ed2cd8a0ac5e939fa592400c6d
parent6dbe51c251a327e012439c4772097a13df43c5b8
regulator: core: Mark all get and enable calls as __must_check

It's generally important that devices have power when they expect it so
drivers really ought to be checking for errors on the power up paths.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/linux/regulator/consumer.h