soc: imx: gpcv2: print errno for regulator errors
authorMartin Kepplinger <martin.kepplinger@puri.sm>
Thu, 9 Jun 2022 11:17:07 +0000 (13:17 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 19 Jun 2022 07:14:39 +0000 (15:14 +0800)
commit43b240d41b5173eaebb825f19c423b4278435d2c
treef479eb0719a83f5ac533042b667067b1a85b41ed
parentf2906aa863381afb0015a9eb7fefad885d4e5a56
soc: imx: gpcv2: print errno for regulator errors

Make debugging of power management issues easier by printing the reason
why a regulator fails to be enabled or disabled.

Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/soc/imx/gpcv2.c