diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-11 20:05:47 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-21 15:46:32 +0200 |
commit | 10ff826ab0a46e6fbac324b3a633c4943e2a745e (patch) | |
tree | 1b3b37e5126b8827ed678cd80ba4b180ec9e9491 /drivers/thermal/broadcom/bcm2835_thermal.c | |
parent | 6987738dfa4cdd8ef68149c2fe644d9c20397d76 (diff) | |
download | blackbird-op-linux-10ff826ab0a46e6fbac324b3a633c4943e2a745e.tar.gz blackbird-op-linux-10ff826ab0a46e6fbac324b3a633c4943e2a745e.zip |
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.
Cc: Kevin Hilman <khilman@kernel.org>
Cc: Nishanth Menon <nm@ti.com>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/thermal/broadcom/bcm2835_thermal.c')
0 files changed, 0 insertions, 0 deletions