summary refs log tree commit diff
path: root/drivers/regulator/lochnagar-regulator.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2018-10-09 16:52:21 +0800
committerMark Brown <broonie@kernel.org>2018-10-10 12:28:41 +0100
commitc18fb34ae185ad3b2444cd5e308ef5f91d8c9a46 (patch)
treea7076641cc790a10d0705b28aea2d2e85ba36af9 /drivers/regulator/lochnagar-regulator.c
parentca55b7185b74e73d2b39dc40efaf96100a2582cd (diff)
downloadlinux-c18fb34ae185ad3b2444cd5e308ef5f91d8c9a46.tar.gz
regulator: stpmic1: Return REGULATOR_MODE_INVALID for invalid mode
-EINVAL is not a valid return value for .of_map_mode, return
REGULATOR_MODE_INVALID instead.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/lochnagar-regulator.c')
0 files changed, 0 insertions, 0 deletions