regulator: core: Log forbidden DRMS operation
authorMarc Gonzalez <marc.w.gonzalez@free.fr>
Thu, 21 Feb 2019 11:55:22 +0000 (12:55 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 21 Feb 2019 18:53:37 +0000 (18:53 +0000)
commit74a569ee4c452e2a1c997f034837ddae500734ca
treea23b930f6a9f733b2f5576d2d1a43e3155c29c3d
parent921b2b3acc0664e1c78b6d9e383be224de74103d
regulator: core: Log forbidden DRMS operation

When REGULATOR_CHANGE_DRMS is not set, drms_uA_update is a no-op.
It used to print a debug message, which was dropped in commit
8a34e979f684 ("regulator: refactor valid_ops_mask checking code")

Let's bring the debug message back, because it helps find missing
regulator-allow-set-load properties.

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/core.c