Messages in this thread | | | Date | Mon, 16 Nov 2015 17:49:01 +0100 | From | Thierry Reding <> | Subject | Re: [PATCH] gpio-tegra: Do not create the debugfs entry by default |
| |
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> [unhandled content-type:application/pgp-signature] | |