]> asedeno.scripts.mit.edu Git - linux.git/commit
PM: domains: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:21:05 +0000 (16:21 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 23 Jan 2019 21:59:57 +0000 (22:59 +0100)
commite16a42c3faa8871353b3e7080cbc5a89bf285187
tree8f5c71327570ec55741d6fb56d720d1e51c5e82c
parent49a57857aeea06ca831043acbb0fa5e0f50602fd
PM: domains: 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>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/domain.c