Skip to content
Commit d0f98e14 authored by Dan Carpenter's avatar Dan Carpenter Committed by Jassi Brar
Browse files

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: 5d4d263e ("mailbox: Introduce support for T-head TH1520 Mailbox driver")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarMichal Wilczynski <m.wilczynski@samsung.com>
Signed-off-by: default avatarJassi Brar <jassisinghbrar@gmail.com>
parent 5bc55a33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment