OSDN Git Service

ACPI: Clean up memory allocations
authorjhbird.choi@samsung.com <jhbird.choi@samsung.com>
Thu, 20 Mar 2014 07:35:56 +0000 (16:35 +0900)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 4 Apr 2014 14:23:33 +0000 (16:23 +0200)
commit2d0acb4af981e20eb626c6ea1925e95056220b2a
treed8dfa9464f7c03d02eaea362d0cd858e10882e97
parent70f6c087573eeb406252ff8d98f511eb5f71496e
ACPI: Clean up memory allocations

Use acpi_os_allocate_zeroed instead of acpi_os_allocate + memset.

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/osl.c
drivers/acpi/utils.c