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/gpio/gpio-pcf857x.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/gpio/gpio-pcf857x.c')
-rw-r--r-- | drivers/gpio/gpio-pcf857x.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-pcf857x.c b/drivers/gpio/gpio-pcf857x.c index 3e1f1ecd07be..2d1de9e7e9bd 100644 --- a/drivers/gpio/gpio-pcf857x.c +++ b/drivers/gpio/gpio-pcf857x.c | |||
@@ -290,10 +290,7 @@ static int pcf857x_probe(struct i2c_client *client, | |||
290 | * methods can't be called from sleeping contexts. | 290 | * methods can't be called from sleeping contexts. |
291 | */ | 291 | */ |
292 | 292 | ||
293 | dev_info(&client->dev, "gpios %d..%d on a %s%s\n", | 293 | dev_info(&client->dev, "%s\n", |
294 | gpio->chip.base, | ||
295 | gpio->chip.base + gpio->chip.ngpio - 1, | ||
296 | client->name, | ||
297 | client->irq ? " (irq ignored)" : ""); | 294 | client->irq ? " (irq ignored)" : ""); |
298 | 295 | ||
299 | /* Let platform code set up the GPIOs and their users. | 296 | /* Let platform code set up the GPIOs and their users. |