commit | 1f339f3384e85b3610482d4af7e500227311c5f2 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Sat Aug 29 14:43:54 2020 +0200 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Thu Sep 24 19:20:49 2020 +0900 |
tree | 9a676df71a6c390b1bd3a7784de41912dcdc8de6 | |
parent | 4e984d83f444901e0187fdb228ce912e2fb7c6ff [diff] |
extcon: max77693: Return error code of extcon_dev_allocate() devm_extcon_dev_allocate() can fail of multiple reasons. The call returns proper error code on failure so pass it instead of fixed ENOMEM. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>