aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorAxel Lin <[email protected]>2021-05-17 13:27:21 +0800
committerMark Brown <[email protected]>2021-05-18 14:04:21 +0100
commit0b1e552673724832b08d49037cdeeac634a3b319 (patch)
treed0c2f24ab6920f848fd6719c330c738107f53f71 /drivers/fpga/fpga-bridge.c
parentadf1471b2f7636362718cec42cf11599cced9733 (diff)
regulator: da9121: Return REGULATOR_MODE_INVALID for invalid mode
-EINVAL is not a valid return value for .of_map_mode, return REGULATOR_MODE_INVALID instead. Fixes: 65ac97042d4e ("regulator: da9121: add mode support") Signed-off-by: Axel Lin <[email protected]> Acked-by: Adam Ward <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions