]> git.baikalelectronics.ru Git - kernel.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)
commitdfe86a6a637cca0e77796596e28274c379417986
treeca5fc3c1f3bbc1ed2cd8a0ac5e939fa592400c6d
parent1550423bbae002d3be1ebdba2fe7b0d0e8ade01e
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