[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMRc=Mey6vJB1sgv7MJ79C_fPSqjb8j23A=eUPjh0is61K0wUQ@mail.gmail.com>
Date: Wed, 2 Aug 2017 10:26:11 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Alexander Stein <alexander.stein@...tec-electronic.com>
Cc: Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 4/6] gpio: mxc: use devres for irq generic chip
2017-08-02 10:09 GMT+02:00 Alexander Stein
<alexander.stein@...tec-electronic.com>:
> Hi,
>
> 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? This is probably
> valid for the other drives as well.
>
> Best regards,
> Alexander
>
gpio-pch and gpio-ml-ioh are loadable and they leak the resources
allocated with these routines. Other drivers affected by this series
already use other devm_*() functions and these changes just make them
more consistent.
Thanks,
Bartosz
Powered by blists - more mailing lists