net: sunhme: Fix region request
[ Upstream commit
886426e1aab9da5eb964ace77fa52b9c7746fd3a ]
devm_request_region is for I/O regions. Use devm_request_mem_region
instead. This fixes the driver failing to probe since
503e2412859a
("sunhme: fix an IS_ERR() vs NULL check in probe"), which checked the
result.
Fixes: f000b42388b7 ("sunhme: switch to devres")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Link: https://lore.kernel.org/r/20230222204242.2658247-1-seanga2@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>