]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc8c79f785303f78c89260befce6cb9b1b636f290
tree90f74c2cc2523a1444ce802a2cf57528550f5c6d
parent7249e7193ffbebf52a4533e3a098352dcf8fc194
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