summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-13 20:37:53 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-18 13:40:25 +0200
commitf9d5de4064e57017b75cfed9c7cfdff73bb52681 (patch)
tree0d5c1411e4e9f466028cd18669e683ed3eb71f5f /drivers/misc
parentthermal: intel_powerclamp: no need to check return value of debugfs_create fu... (diff)
downloadlinux-f9d5de4064e57017b75cfed9c7cfdff73bb52681.tar.xz
linux-f9d5de4064e57017b75cfed9c7cfdff73bb52681.zip
thermal: tegra: 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: Zhang Rui <rui.zhang@intel.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Jonathan Hunter <jonathanh@nvidia.com> Cc: Wei Ni <wni@nvidia.com> Cc: Yangtao Li <tiny.windzz@gmail.com> Cc: linux-pm@vger.kernel.org Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions