gpio: tegra: Clean-up debugfs initialisation
authorJon Hunter <jonathanh@nvidia.com>
Wed, 26 Jun 2019 13:42:58 +0000 (14:42 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 27 Jun 2019 16:25:07 +0000 (17:25 +0100)
commita4de43049a1d0e2ed2a1d95e18e74b82cd9ca058
tree941b0f72a958f1297aaae56b4680c1d18b01582f
parentda6070fc558e3b5d7fe0cabcbec6487a1999c76d
gpio: tegra: Clean-up debugfs initialisation

The function tegra_gpio_debuginit() just calls debugfs_create_file()
and given that there is already a stub function implemented for
debugfs_create_file() when CONFIG_DEBUG_FS is not enabled, there is
no need for the function tegra_gpio_debuginit() and so remove it.

Finally, use a space and not a tab between the #ifdef and
CONFIG_DEBUG_FS.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tegra.c