Skip to content
Snippets Groups Projects
Commit ee0a735f authored by Sean Anderson's avatar Sean Anderson Committed by Jakub Kicinski
Browse files

net: sunhme: Fix region request


devm_request_region is for I/O regions. Use devm_request_mem_region
instead.  This fixes the driver failing to probe since 99df45c9
("sunhme: fix an IS_ERR() vs NULL check in probe"), which checked the
result.

Fixes: 914d9b27 ("sunhme: switch to devres")
Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
Reviewed-by: default avatarPavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://lore.kernel.org/r/20230222204242.2658247-1-seanga2@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent edea0c5a
No related branches found
No related tags found
No related merge requests found
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