Skip to content

serdev: bus-code clean ups

Johan Hovold linux-serial lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2serdev: do not generate modaliases for controllersdrivers/tty/serdev/core.c+34 -381 reply
2/2serdev: only match serdev devicesdrivers/tty/serdev/core.c+8 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSebastian Reichel
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] serdev: bus-code clean ups

As noted by Hans, we currently fail to generate uevents for ACPI serdev controller as they do not have any ACPI companions from which ACPI modaliases are constructed.

In fact, we should not have been generating modaliases for controllers in the first place as controllers are not bound to drivers.

This series applies on top of Hans's minimal fix which suppresses the uevent errors for ACPI controllers (even though it could replace it entirely if preferred).

Johan

v2
- add the missing static keyword for the modalias attribute when moving the definition (noted by Greg)

Johan Hovold (2):
serdev: do not generate modaliases for controllers
serdev: only match serdev devices

 drivers/tty/serdev/core.c | 80 +++++++++++++++++++++++++----------------------
 1 file changed, 42 insertions(+), 38 deletions(-)
Signature · 1 line
2.15.1