Thread (16 messages) 16 messages, 4 authors, 2017-08-20

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

From: Bartosz Golaszewski <hidden>
Date: 2017-08-02 11:54:12
Also in: lkml

2017-08-02 13:41 GMT+02:00 Linus Walleij [off-list ref]:
On Wed, Aug 2, 2017 at 10:32 AM, Andy Shevchenko
[off-list ref] wrote:
quoted
On Wed, Aug 2, 2017 at 11:09 AM, Alexander Stein
[off-list ref] wrote:
quoted
On Wednesday 02 August 2017 09:51:24, Bartosz Golaszewski wrote:
quoted
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?
Maybe the patches need to be combines with a
.suppress_bind_attrs = true in the driver struct?

I backed out the patches I applied, I thought the series were older,
sorry stressed at work today.
gpio-sodaville sets .supress_bind_attrs to true. Other built-in
drivers need updates for that, but I think this could go in a separate
series as using devres doesn't affect the bind/unbind
functionality/issue.

Thanks,
Bartosz
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help