]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ab2928cf59c63c83660e6aa3d6a27294e0bf8f5
tree941b0f72a958f1297aaae56b4680c1d18b01582f
parent3d2f313f0a89079c90d18e13fd0b6225359fbf6a
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