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)
commitd2fb5487ecb2a28b61ff261ae18488afc98d24a6
treeaa81bba110588db96cfaa56569639a1d80a25702
parent75c3543e39f0c94644eac5965b3efe50c2c5c39d
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