linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] serdev: bus-code clean ups
@ 2018-01-09 16:09 Johan Hovold
  2018-01-09 16:09 ` [PATCH v2 1/2] serdev: do not generate modaliases for controllers Johan Hovold
  2018-01-09 16:09 ` [PATCH v2 2/2] serdev: only match serdev devices Johan Hovold
  0 siblings, 2 replies; 5+ messages in thread
From: Johan Hovold @ 2018-01-09 16:09 UTC (permalink / raw)
  To: Rob Herring, Greg Kroah-Hartman
  Cc: Jiri Slaby, linux-serial, linux-kernel, Frédéric Danis,
	Hans de Goede, Johan Hovold

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(-)

-- 
2.15.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-01-19 11:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-09 16:09 [PATCH v2 0/2] serdev: bus-code clean ups Johan Hovold
2018-01-09 16:09 ` [PATCH v2 1/2] serdev: do not generate modaliases for controllers Johan Hovold
2018-01-19 11:06   ` Sebastian Reichel
2018-01-09 16:09 ` [PATCH v2 2/2] serdev: only match serdev devices Johan Hovold
2018-01-19 11:07   ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).