Re: [PATCH] gpio: gpiolib: set gpiochip_remove retval to void

From: Stephen Rothwell
Date: Thu May 29 2014 - 19:00:32 EST


Hi abdoulaye,

On Fri, 30 May 2014 00:32:02 +0200 abdoulaye berthe <berthe.ab@xxxxxxxxx> wrote:
>
> + if (test_bit(FLAG_REQUESTED, &chip->desc[id].flags))
> + panic("gpio: removing gpiochip with gpios still requested\n");

Someone else already commented that panic is probably overkill ... is
there no way to log this and continue?

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature