Re: [PATCH 4/6] gpio: mxc: use devres for irq generic chip

From: Andy Shevchenko
Date: Wed Aug 02 2017 - 04:32:30 EST


On Wed, Aug 2, 2017 at 11:09 AM, Alexander Stein
<alexander.stein@xxxxxxxxxxxxxxxxxxxxx> wrote:
> On Wednesday 02 August 2017 09:51:24, Bartosz Golaszewski wrote:
>> Use resource managed variants of irq_alloc_generic_chip() and
>> irq_setup_generic_chip().
>
> Is this really useful for drivers which can only be built-in?

But you still can unbind the driver and its ->remove() will be called
(in case of no remove, devres still on the table), right?

--
With Best Regards,
Andy Shevchenko