]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitaa27bbc6c6c60227c096d515f55ffe6cdfef7d2b
tree95ae3585d1cef8bb267076af8073d5b0f30e0276
parent72069f9957a11896e79e95c8b55ec815e97c2187
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