From 495151f0c85179c66a0be43f9ae5dc249e4695a9 Mon Sep 17 00:00:00 2001 From: Jonas Aaberg Date: Wed, 12 Oct 2011 11:08:47 +0200 Subject: ARM: ux500: pins-debug: Only show relevant information Information only valid to force gpio pins when suspending was displayed. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I47b9204449a27ddae6a3054b191192aa160917c2 Signed-off-by: Jonas Aaberg Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33864 --- arch/arm/mach-ux500/pins.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'arch') diff --git a/arch/arm/mach-ux500/pins.c b/arch/arm/mach-ux500/pins.c index 30727978958..4738103646d 100644 --- a/arch/arm/mach-ux500/pins.c +++ b/arch/arm/mach-ux500/pins.c @@ -119,10 +119,9 @@ static void show_pin(struct seq_file *s, pin_cfg_t pin) int slpm_pull = PIN_SLPM_PULL(pin); int slpm_dir = PIN_SLPM_DIR(pin); int slpm_val = PIN_SLPM_VAL(pin); - int slpm_pdis = PIN_SLPM_PDIS(pin); seq_printf(s, - " pin %d [%#lx]: af %s, pull %s (%s%s) - slpm: %s%s%s%s%s\n", + " pin %d [%#lx]: af %s, pull %s (%s%s) - slpm: %s%s%s%s\n", pin_num, pin, afnames[af], pullnames[pull], output ? "output " : "input", @@ -132,9 +131,7 @@ static void show_pin(struct seq_file *s, pin_cfg_t pin) slpm_dir == 1 ? (slpm_pull == 0 ? "pull: none ": (slpm_pull == NMK_GPIO_PULL_UP ? "pull: up " : "pull: down ") ): "", - slpm_dir == 2 ? (slpm_val == 1 ? "low " : "high " ) : "", - slpm_pdis ? (slpm_pdis == 1 ? "pdis: dis" : "pdis: en") : - "pdis: no change"); + slpm_dir == 2 ? (slpm_val == 1 ? "low " : "high " ) : ""); } static int pins_dbg_show(struct seq_file *s, void *iter) -- cgit v1.2.3