[PATCH 0/4] Input: refactor USB endpoint lookups

Johan Hovold posted 4 patches 1 week ago
drivers/input/misc/keyspan_remote.c        | 22 ++-----------
drivers/input/mouse/appletouch.c           | 21 ++++--------
drivers/input/mouse/synaptics_usb.c        | 23 ++-----------
drivers/input/touchscreen/usbtouchscreen.c | 38 +++++++---------------
4 files changed, 22 insertions(+), 82 deletions(-)
[PATCH 0/4] Input: refactor USB endpoint lookups
Posted by Johan Hovold 1 week ago
Use the common USB helpers for looking up bulk and interrupt endpoints
instead of open coding.

Johan


Johan Hovold (4):
  Input: keyspan-remote - refactor endpoint lookup
  Input: appletouch - refactor endpoint lookup
  Input: synaptics_usb - refactor endpoint lookup
  Input: usbtouchscreen - refactor endpoint lookup

 drivers/input/misc/keyspan_remote.c        | 22 ++-----------
 drivers/input/mouse/appletouch.c           | 21 ++++--------
 drivers/input/mouse/synaptics_usb.c        | 23 ++-----------
 drivers/input/touchscreen/usbtouchscreen.c | 38 +++++++---------------
 4 files changed, 22 insertions(+), 82 deletions(-)

-- 
2.52.0
Re: [PATCH 0/4] Input: refactor USB endpoint lookups
Posted by Dmitry Torokhov 6 days, 10 hours ago
On Mon, Mar 30, 2026 at 11:59:44AM +0200, Johan Hovold wrote:
> Use the common USB helpers for looking up bulk and interrupt endpoints
> instead of open coding.

Applied the lot, thank you.

-- 
Dmitry
Re: [PATCH 0/4] Input: refactor USB endpoint lookups
Posted by Dmitry Torokhov 5 days, 14 hours ago
On Mon, Mar 30, 2026 at 04:55:35PM -0700, Dmitry Torokhov wrote:
> On Mon, Mar 30, 2026 at 11:59:44AM +0200, Johan Hovold wrote:
> > Use the common USB helpers for looking up bulk and interrupt endpoints
> > instead of open coding.
> 
> Applied the lot, thank you.

Actually, dropped patch #4:

https://sashiko.dev/#/patchset/20260330095948.1663141-1-johan%40kernel.org

Thanks.

-- 
Dmitry
Re: [PATCH 0/4] Input: refactor USB endpoint lookups
Posted by Johan Hovold 5 days, 3 hours ago
On Tue, Mar 31, 2026 at 01:21:05PM -0700, Dmitry Torokhov wrote:
> On Mon, Mar 30, 2026 at 04:55:35PM -0700, Dmitry Torokhov wrote:
> > On Mon, Mar 30, 2026 at 11:59:44AM +0200, Johan Hovold wrote:
> > > Use the common USB helpers for looking up bulk and interrupt endpoints
> > > instead of open coding.
> > 
> > Applied the lot, thank you.
> 
> Actually, dropped patch #4:
> 
> https://sashiko.dev/#/patchset/20260330095948.1663141-1-johan%40kernel.org

Thanks, I saw this one last night as well (after reading the LWN
article). 

I'll send a v2.

Johan