gpio: tegra: No need to cast away return value of debugfs_create_file()
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Jun 2019 15:50:46 +0000 (17:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Jun 2019 14:56:52 +0000 (15:56 +0100)
commitd1d522d4f8b40016b7071dd0e0167927e58814e3
treefa491692d764ee7e424d743aa0891778371a50cb
parentacc68b0e70e8c9cb4355f9cafeaf51a441f64cc2
gpio: tegra: No need to cast away return value of debugfs_create_file()

It is fine to ignore the return value (and encouraged),
so no need to cast away the return value, you will not get
a build warning at all.

Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-tegra@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c