]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Silence build warnings from regulator_can_change_voltage()
authorMark Brown <broonie@kernel.org>
Tue, 17 May 2016 17:06:18 +0000 (18:06 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 17 May 2016 17:06:18 +0000 (18:06 +0100)
commit866d986353c81dae6437d631068a05030da05ada
tree162426003ff7ae8e858a967a4fa32bae3737d433
parent5797e17876fdcef96d5ee6b2c102174ee4d7c84a
regulator: Silence build warnings from regulator_can_change_voltage()

Cut down on noise for mainstream users of the API and people doing build
testing by dropping the deprecated flag from regulator_can_change_voltage()
as it triggers even on the EXPORT_SYMBOL_GPL() which affects all builds
rather than just the remaining drivers with calls to it (for which fixes
are currently pending).

The function remains deprecated and is expected to be removed entirely
in v4.8.

Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regulator/consumer.h