Commit 1e41911a authored by Hans de Goede's avatar Hans de Goede Committed by Greg Kroah-Hartman
Browse files

platform/x86: p2sb: Make p2sb_get_devfn() return void



[ Upstream commit 3ff58736 ]

p2sb_get_devfn() always succeeds, make it return void and
remove error checking from its callers.

Reviewed-by: default avatarShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240305094500.23778-1-hdegoede@redhat.com


Stable-dep-of: 360c400d ("p2sb: Do not scan and remove the P2SB device when it is unhidden")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 45bbb2a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment