ARM: tegra: pinmux: fix dbg_pinmux_show routine
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 7 May 2012 12:05:14 +0000 (17:05 +0530)
committerVarun Wadekar <vwadekar@nvidia.com>
Tue, 8 May 2012 05:25:24 +0000 (22:25 -0700)
commitddf37675fd210bf263a13c809b8ddbcc0a77d049
tree96e2acf48cb462f5967c08baff469de807d99f2c
parent1aa15efa7c187523343a41e31cd3312bea4c7d13
ARM: tegra: pinmux: fix dbg_pinmux_show routine

e4b9a093889311aac9a54b6bd55f255fd482ffda added support to consider reg_base
of zero as valid.

Add the same support in debugfs' _show routine so that all the pinmux
registers are displayed when we do "cat /d/tegra_pinmux"

Change-Id: Ia4eeaf808c5f853db96a2d118d308e072dbc38f4
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/100926
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
arch/arm/mach-tegra/pinmux.c