Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1270353

Re: [PATCH] gpio-tegra: Do not create the debugfs entry by default

From Thierry Reding <thierry.reding@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] gpio-tegra: Do not create the debugfs entry by default
Date 2015-11-16 17:50 +0100
Message-ID <qvv8B-1ij-11@gated-at.bofh.it> (permalink)
References <qvuvU-151-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, Nov 16, 2015 at 04:07:10PM +0000, Suzuki K. Poulose wrote:
> The tegra gpio driver creates the debugfs entry irrespective of
> whether the device exists or not. This is enabled on an arm64_defconfig
> and leaves an entry in debugfs on all platforms where it is not
> useful. This patch fixes the issue by creating the entry only when
> a device exists.
> 
> Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com>
> ---
>  drivers/gpio/gpio-tegra.c |  105 ++++++++++++++++++++++++---------------------
>  1 file changed, 56 insertions(+), 49 deletions(-)

Yikes, good catch!

Acked-by: Thierry Reding <treding@nvidia.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] gpio-tegra: Do not create the debugfs entry by default "Suzuki K. Poulose" <suzuki.poulose@arm.com> - 2015-11-16 17:10 +0100
  Re: [PATCH] gpio-tegra: Do not create the debugfs entry by default Thierry Reding <thierry.reding@gmail.com> - 2015-11-16 17:50 +0100
  Re: [PATCH] gpio-tegra: Do not create the debugfs entry by default Linus Walleij <linus.walleij@linaro.org> - 2015-11-17 15:30 +0100

csiph-web