Re: [PATCH v2 1/3] ACPI: PMIC: Use sizeof() instead of hard coded value
From: Mika Westerberg
Date: Wed Aug 31 2022 - 01:37:41 EST
On Tue, Aug 30, 2022 at 08:11:53PM +0300, Andy Shevchenko wrote:
> It's better to use sizeof() of a given buffer than spreading
> a hard coded value.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Reviewed-by: Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx>