diff options
author | Krzysztof Kozlowski <krzk@kernel.org> | 2019-01-29 12:25:53 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2019-02-07 11:43:15 +0100 |
commit | 83761f9663a228f148ee318cc0531035cfa5654c (patch) | |
tree | b896a5e2052a844e48e4b0e76da4a06d01b3e1bf /Documentation | |
parent | mfd: sm501: Use struct_size() in devm_kzalloc() (diff) | |
download | linux-83761f9663a228f148ee318cc0531035cfa5654c.tar.xz linux-83761f9663a228f148ee318cc0531035cfa5654c.zip |
mfd: sec-core: Return gracefully instead of BUG() if device cannot match
Replace impossible BUG() in probe with a proper return. This can be
triggered only in case of a clear bug (e.g. adding broken half-support
for new S2MPSXX flavor) but BUG() is discouraged and the boot process
can actually try to continue.
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions