diff options
author | Andrei Epure <epure.andrei@gmail.com> | 2013-03-11 08:20:16 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-24 23:31:33 +0100 |
commit | e2cb5f08469c991b187f66fa627d7673c7f3361b (patch) | |
tree | 0b31ae4416e8c1f0a3dc40e35a6469566ce438fa /drivers/acpi/button.c | |
parent | 82160dd8ba4db5674d1d6730afe8d9b499fb7a4a (diff) | |
download | linux-e2cb5f08469c991b187f66fa627d7673c7f3361b.tar.bz2 |
ACPI: replace kmalloc+memcpy with kmemdup
Replace the combination of kmalloc() and memcpy() in acpi_run_osc()
with a single call to kmemdup().
[rjw: Changelog]
Signed-off-by: Andrei Epure <epure.andrei@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/button.c')
0 files changed, 0 insertions, 0 deletions