diff options
| author | 2022-09-13 07:16:59 +0000 | |
|---|---|---|
| committer | 2022-09-28 16:17:41 +0100 | |
| commit | 9c90f21f93e4b9c8c9a799ca7c09b1323b9fca11 (patch) | |
| tree | 2a62c7912b175a1c5ce4f3935d98c30a8b5bcfbd /tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com | |
| parent | dt-bindings: mfd: qcom,tcsr: Drop simple-mfd from IPQ6018 (diff) | |
| download | linux-dev-9c90f21f93e4b9c8c9a799ca7c09b1323b9fca11.tar.xz linux-dev-9c90f21f93e4b9c8c9a799ca7c09b1323b9fca11.zip | |
mfd: htc-i2cpld: Fix an IS_ERR() vs NULL bug in htcpld_core_probe()
The gpiochip_request_own_desc() function returns error pointers on error,
it doesn't return NULL.
Fixes: 0ef5164a81fbf ("mfd/omap1: htc-i2cpld: Convert to a pure GPIO driver")
Signed-off-by: Peng Wu <wupeng58@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20220913071659.94677-1-wupeng58@huawei.com
Diffstat (limited to 'tools/testing/selftests/exec/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
