ACPI: PMIC: Use sizeof() instead of hard coded value

It's better to use sizeof() of a given buffer than spreading
a hard coded value.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
Andy Shevchenko 2024-06-06 23:54:14 +03:00 • committed by Rafael J. Wysocki
commit 58e04f3152
2 changed files with 2 additions and 2 deletions