platform/chrome: cros_ec_debugfs: no need to check return value of debugfs_create...
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 8 Apr 2019 15:05:38 +0000 (17:05 +0200)
committerEnric Balletbo i Serra <enric.balletbo@collabora.com>
Mon, 15 Apr 2019 10:11:35 +0000 (12:11 +0200)
commitb18e606ff313e20e72b4a53cdddc16f476f2a740
tree04e65491d75a7f811b0da5274b8007bb21e3e5d6
parente43c426a777eb2554d8a29d31311debe897badd9
platform/chrome: cros_ec_debugfs: 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.

Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
drivers/platform/chrome/cros_ec_debugfs.c