OSDN Git Service

ACPI: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:21:03 +0000 (16:21 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 22 Jan 2019 18:45:52 +0000 (19:45 +0100)
commit9ec6dbfbdc0ade855e6bc1da66e263e0d926697c
tree4374d454e65f92450f588cb398ddff7e9b7247fc
parent49a57857aeea06ca831043acbb0fa5e0f50602fd
ACPI: no need to check return value of debugfs_create functions

When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_dbg.c
drivers/acpi/apei/einj.c
drivers/acpi/custom_method.c
drivers/acpi/ec_sys.c