Re: [PATCH v4 04/15] drivers/firmware/sdei: Avoid nested statements in sdei_init()
From: James Morse <james.morse@arm.com>
Date: 2020-09-18 16:13:20
From: James Morse <james.morse@arm.com>
Date: 2020-09-18 16:13:20
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@arm.com> Thanks, James _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel