[PATCH v4 04/15] drivers/firmware/sdei: Avoid nested statements in sdei_init()

James Morse james.morse at arm.com
Fri Sep 18 12:11:41 EDT 2020


Hi Gavin,

On 30/07/2020 02:45, Gavin Shan wrote:
> In sdei_init(), the nested statements can be avoided by bailing
> on error from platform_driver_register() or absent ACPI SDEI table.
> With it, the code looks a bit more readable.

This is how the code ended up after the DT pattern was fixed out of existence.

Thanks for the cleanup.
Reviewed-by: James Morse <james.morse at arm.com>


Thanks,

James



More information about the linux-arm-kernel mailing list