Re: [PATCH] HID: cp2112: remove use of gpiochip_remove() retval

From: Pramod Gurav
Date: Wed Oct 01 2014 - 03:23:19 EST


On Wednesday 01 October 2014 12:48 PM, Jiri Kosina wrote:
>> > Get rid of using return value from gpiochip_remove() as it returns
>> > void.
>> >
>> > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
>> > Cc: Alexandre Courbot <gnurou@xxxxxxxxx>
>> > Cc: Jiri Kosina <jkosina@xxxxxxx>
>> > Cc: linux-input@xxxxxxxxxxxxxxx
>> > Cc: linux-gpio@xxxxxxxxxxxxxxx
>> >
>> > Signed-off-by: Pramod Gurav <pramod.gurav@xxxxxxxxxxxxxxx>
> I guess this depends on some other patch that hasn't gone to Linus yet,
> right? As Linus' tree currently has this prototype:
>
> int gpiochip_remove(struct gpio_chip *chip)

Yes. It is yet to make it to linus's tree. But the change is there in
linux-next master branch.


Thanks
Pramod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/