[PATCH 0/6] ACPI: Fine-tuning for some function implementations
From: SF Markus Elfring
Date: Tue Apr 18 2017 - 12:48:43 EST
From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 18 Apr 2017 18:28:18 +0200
A few update suggestions were taken into account
from static source code analysis.
Markus Elfring (6):
fan: Use devm_kcalloc() in acpi_fan_get_fps()
fan: Delete error messages for a failed memory allocation in two functions
nfit: Use devm_kcalloc() in nfit_mem_dcr_init()
einj: Replace 12 seq_printf() calls by seq_puts() in available_error_type_show()
battery: Replace 16 seq_printf() calls by seq_puts()
proc: Replace two seq_printf() calls by seq_puts() in acpi_system_wakeup_device_seq_show()
drivers/acpi/apei/einj.c | 25 +++++++++++++------------
drivers/acpi/battery.c | 34 +++++++++++++++++-----------------
drivers/acpi/fan.c | 9 +++------
drivers/acpi/nfit/core.c | 8 +++++---
drivers/acpi/proc.c | 4 ++--
5 files changed, 40 insertions(+), 40 deletions(-)
--
2.12.2