diff options
| author | Dan Carpenter <dan.carpenter@linaro.org> | 2025-10-24 09:19:21 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-10-27 10:19:17 +0100 |
| commit | 9452252dff94ff2cbcd33d3418c2b95ff74bdba5 (patch) | |
| tree | 10d36fe6887c981517f879212c078cba9f0a3138 /tools/lib/python/kdoc/kdoc_output.py | |
| parent | 96fbc8050d0f8d208dfd807aa0137082f1e07ff2 (diff) | |
gpio: qixis-fpga: Fix a NULL vs IS_ERR() bug in probe()
The devm_platform_ioremap_resource() function doesn't return NULL, it
returns error pointers. Fix the checking to match.
Fixes: e88500247dc3 ("gpio: add QIXIS FPGA GPIO controller")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Michael Walle <mwalle@kernel.org>
Link: https://lore.kernel.org/r/aPsaaf0h343Ba7c1@stanley.mountain
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions
