diff options
author | Axel Lin <axel.lin@ingics.com> | 2018-10-09 10:52:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-10-10 13:28:41 +0200 |
commit | c18fb34ae185ad3b2444cd5e308ef5f91d8c9a46 (patch) | |
tree | a7076641cc790a10d0705b28aea2d2e85ba36af9 /drivers/regulator/Makefile | |
parent | regulator: stpmic1: add stpmic1 regulator driver (diff) | |
download | linux-c18fb34ae185ad3b2444cd5e308ef5f91d8c9a46.tar.xz linux-c18fb34ae185ad3b2444cd5e308ef5f91d8c9a46.zip |
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/Makefile')
0 files changed, 0 insertions, 0 deletions