[PATCH 004/182] gpio: generic: factor into gpio_chip struct

Linus Walleij linus.walleij at linaro.org
Sun Dec 13 12:15:01 PST 2015


On Thu, Dec 10, 2015 at 12:08 AM, Michael Welling <mwelling at ieee.org> wrote:
> On Wed, Dec 09, 2015 at 02:12:40PM +0100, Linus Walleij wrote:
> ...
>> -     ret = gpiochip_add(&bgc->gc);
>> +     ret = gpiochip_add_data(gc, NULL);
>>       if (ret) {
>
> gpiochip_add is still mentioned in the dev_err below.

I explicitly left text string updates aside, I am anyways going to have to go
over all drivers for a second refactoring with gpiodev_alloc() etc.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list