diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2026-03-12 11:18:20 +0800 |
|---|---|---|
| committer | Linus Walleij <linusw@kernel.org> | 2026-03-16 11:13:51 +0100 |
| commit | 9ba4ef6847ba53dea92efce47c9e044fbf6d6dcf (patch) | |
| tree | 9621e8086687744e8af336efde63a91042d347ab /tools/perf/scripts/python | |
| parent | fc334ad4a1d110754b3ec3abd0805d1ae1cfcc4b (diff) | |
pinctrl: realtek: Fix error check for devm_platform_ioremap_resource()
Replace NULL check with IS_ERR() for devm_platform_ioremap_resource()
return value. Use dev_err_probe() for error handling to maintain
consistency with the rest of the probe function.
Fixes: b7f698b22b8b ("pinctrl: realtek: Switch to use devm functions")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
