ACPI: sysfs: Unify pattern of memory allocations
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 16 Jun 2021 17:03:34 +0000 (20:03 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Jun 2021 15:10:11 +0000 (17:10 +0200)
commitb272c05984679c855ff2d08c9d54957bdcfd9b3b
tree90f74c2cc2523a1444ce802a2cf57528550f5c6d
parentd3121e64ad78ba944596d43d23914cf5f0131666
ACPI: sysfs: Unify pattern of memory allocations

Use the form of foo = kmalloc(sizeof(*foo)) everywhere in order to
unify pattern of memory allocations.

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