diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-11-06 13:36:18 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-12-12 15:40:16 -0500 |
commit | 64842aad5ec5ea3b6f6e716ce53a863f7c409da8 (patch) | |
tree | 29e89d0de902636bcad5a63d0a872c04438bb9e0 /drivers/of/gpio.c | |
parent | f4574beb9655dbe6a1513f308f0070e9e5e1ad0e (diff) |
gpiolib: output basic details and consolidate gpio device drivers
This patch adds a kernel message, containing GPIO range and device
name on successful device registration, and removes duplicate messages from the following drivers:
* gpio-adp5588
* gpio-bt8xx
* gpio-cs5535
* gpio-janz-ttl
* gpio-nomadik
* gpio-pcf857x
* gpio-xilinx
* drivers/of/gpio.c
Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
[grant.likely@secretlab.ca: squashed 2 patches together]
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/of/gpio.c')
-rw-r--r-- | drivers/of/gpio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/of/gpio.c b/drivers/of/gpio.c index ef0105fa52b1..ea4f2faab222 100644 --- a/drivers/of/gpio.c +++ b/drivers/of/gpio.c | |||
@@ -198,8 +198,6 @@ int of_mm_gpiochip_add(struct device_node *np, | |||
198 | if (ret) | 198 | if (ret) |
199 | goto err2; | 199 | goto err2; |
200 | 200 | ||
201 | pr_debug("%s: registered as generic GPIO chip, base is %d\n", | ||
202 | np->full_name, gc->base); | ||
203 | return 0; | 201 | return 0; |
204 | err2: | 202 | err2: |
205 | iounmap(mm_gc->regs); | 203 | iounmap(mm_gc->regs); |