dm: pmic: Display the regulator limits on error
authorSimon Glass <sjg@chromium.org>
Fri, 3 Jul 2015 00:16:07 +0000 (18:16 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 03:06:13 +0000 (21:06 -0600)
commit224d1ddcc5fa18d88e2c735778c39b8df61016ea
tree3655f2f51ae0ae14435b6d0c8d4ec332a016e7bd
parentd08504d18a0a6af2ba6171a4a3e71a032d2836b6
dm: pmic: Display the regulator limits on error

When a regulator command cannot honour the requested voltage, display the
limits to try to be helpful.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
common/cmd_regulator.c