opp: no need to check return value of debugfs_create functions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 15:21:17 +0000 (16:21 +0100)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 7 Feb 2019 04:28:32 +0000 (09:58 +0530)
commita2dea4cb907022447298d46b15a5c41f3f9903e6
treec8b5eabcc87dcbcf6635c254153599aed5b6a638
parent1058d1efbc84e3b48d2130f46a149cea178b28a1
opp: 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: Viresh Kumar <vireshk@kernel.org>
Cc: Nishanth Menon <nm@ti.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: linux-pm@vger.kernel.org
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/opp/core.c
drivers/opp/debugfs.c
drivers/opp/opp.h