diff options
author | Dan Carpenter <dan.carpenter@linaro.org> | 2024-11-30 13:07:39 +0300 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2025-01-18 16:04:04 -0600 |
commit | d0f98e14c010bcf27898b635a54c1994ac4110a8 (patch) | |
tree | e7557d2323015d1c07ab384a5715353d7a34fc28 /tools/perf/scripts/python | |
parent | 5bc55a333a2f7316b58edc7573e8e893f7acb532 (diff) |
mailbox: th1520: Fix a NULL vs IS_ERR() bug
The devm_ioremap() function doesn't return error pointers, it returns
NULL. Update the error checking to match.
Fixes: 5d4d263e1c6b ("mailbox: Introduce support for T-head TH1520 Mailbox driver")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Michal Wilczynski <m.wilczynski@samsung.com>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions