ACPI: platform: Use sizeof(*pointer) instead of sizeof(type)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 31 Aug 2022 14:03:26 +0000 (17:03 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 3 Sep 2022 18:53:17 +0000 (20:53 +0200)
commit895a4d6ce17b377316ebe7e7090efc1ce9ffd1fe
tree891e8d9f1aee83be77a73aa7e0a6f293d4f4f358
parent1d190148cc22495a01668417243121ad0ad5df01
ACPI: platform: Use sizeof(*pointer) instead of sizeof(type)

It is preferred to use sizeof(*pointer) instead of sizeof(type).
The type of the variable can change and one needs not change
the former (unlike the latter). No functional change intended.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_platform.c