mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> [[email protected]: squashed 2 patches together] Signed-off-by: Grant Likely <[email protected]>
This commit is contained in:
parent
f4574beb96
commit
64842aad5e
9 changed files with 9 additions and 18 deletions
|
|
@ -198,8 +198,6 @@ int of_mm_gpiochip_add(struct device_node *np,
|
|||
if (ret)
|
||||
goto err2;
|
||||
|
||||
pr_debug("%s: registered as generic GPIO chip, base is %d\n",
|
||||
np->full_name, gc->base);
|
||||
return 0;
|
||||
err2:
|
||||
iounmap(mm_gc->regs);
|
||||
|
|
|
|||
Loading…
Reference in a new issue