]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: empty the old suspend functions
authorChunyan Zhang <zhang.chunyan@linaro.org>
Fri, 26 Jan 2018 13:08:46 +0000 (21:08 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jan 2018 14:43:51 +0000 (14:43 +0000)
commit1c9214c1c4986cb3c5b53784a5ef848206a0524a
tree95ae3585d1cef8bb267076af8073d5b0f30e0276
parenta0aa8fc0261d3fb31281244cbdce4691f415f039
regulator: empty the old suspend functions

Regualtor suspend/resume functions should only be called by PM suspend
core via registering dev_pm_ops, and regulator devices should implement
the callback functions.  Thus, any regulator consumer shouldn't call
the regulator suspend/resume functions directly.

In order to avoid compile errors, two empty functions with the same name
still be left for the time being.

Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c
include/linux/regulator/machine.h