]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: virtual: warn against production use
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Tue, 1 Mar 2022 11:18:30 +0000 (12:18 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2022 13:45:30 +0000 (13:45 +0000)
commit9f558f9d0d87b75cfdc1f79bc81c9337a7509e5a
treeaa81bba110588db96cfaa56569639a1d80a25702
parent4d42a70f644ad8a0f15b551865726ef6277e4f43
regulator: virtual: warn against production use

This driver is only meant for debugging and testing.  Currently, it's
not possible to use it without patching the kernel since it requires
platform data, but we'll be adding devicetree support, so add a loud
warning to make it clear that it's still only meant for debugging and
testing.

Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220301111831.3742383-3-vincent.whitchurch@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/virtual.c