Thread (4 messages) 4 messages, 2 authors, 2015-06-08

RE: [RESEND PATCH V4 1/1] input: misc: da9063: OnKey driver

From: Opensource [Steve Twiss] <hidden>
Date: 2015-06-08 11:39:03
Also in: linux-input, lkml

On 05 June 2015 18:50 Dmitry Torokhov wrote:
Subject: Re: [RESEND PATCH V4 1/1] input: misc: da9063: OnKey driver
On Thu, Jun 04, 2015 at 12:02:32PM +0100, S Twiss wrote:
quoted
From: Steve Twiss <redacted>

Add OnKey driver support for DA9063

Signed-off-by: Steve Twiss <redacted>

---
The changes made in PATCH V3 have been taken from the DA9062 OnKey review
thread. Please see https://lkml.org/lkml/2015/4/29/406 for more information
on this.

Version History

Changes in V4
 - No change, just a resend.
Sorry for the delay.

I took the liberty of rearranging the code a bit and converting it to
devm* fully, does the version below still work for you?
Hi Dmitry,

No problem. Thank you for getting back to me and for taking the time to work
through this code.

Everything looks fine for me thank you.

Tested-by: Steve Twiss <redacted>

I see now: in future I will make use of the devm_add_action() and use the devm*
properly & your changes have simplified the error handling and negated the need
for a .remove function. The devm release cleans up in reverse -- preserving
the free_irq() and cancel_delayed_work_sync() ordering ...

Regards,
Steve.

CC: Adam Ward <redacted>

[...]

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help