[PATCH v2 08/10] soc: aspeed: lpc-snoop: Use dev_err_probe() where possible

Jean Delvare jdelvare at suse.de
Fri Jul 4 07:46:37 PDT 2025


On Mon, 16 Jun 2025 22:43:45 +0930, Andrew Jeffery wrote:
> Exploit that it returns the provided error to eliminate some lines, and
> return the actual error involved rather than -ENODEV.
> 
> Signed-off-by: Andrew Jeffery <andrew at codeconstruct.com.au>
> ---
>  drivers/soc/aspeed/aspeed-lpc-snoop.c | 15 +++++----------
>  1 file changed, 5 insertions(+), 10 deletions(-)
> (...)

LGTM.

Acked-by: Jean Delvare <jdelvare at suse.de>

-- 
Jean Delvare
SUSE L3 Support



More information about the linux-arm-kernel mailing list