power: avs: smartreflex: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jun 2019 18:05:47 +0000 (20:05 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Jun 2019 08:54:32 +0000 (10:54 +0200)
commit8eb835e4789acb7c306d56ae9069e0e1134aa5b2
tree39aa8878b63ae28d91908ad1568770540e56683a
parent9e0babf2c06c73cda2c0cd37a1653d823adb40ec
power: avs: smartreflex: 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.

And even when not checking the return value, no need to cast away the
call to (void), as these functions were never a "must check" type of a
function, so remove that odd cast.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/power/avs/smartreflex.c