[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180109160917.30752-1-johan@kernel.org>
Date: Tue, 9 Jan 2018 17:09:15 +0100
From: Johan Hovold <johan@...nel.org>
To: Rob Herring <robh@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Jiri Slaby <jslaby@...e.com>, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org,
Frédéric Danis
<frederic.danis.oss@...il.com>,
Hans de Goede <hdegoede@...hat.com>,
Johan Hovold <johan@...nel.org>
Subject: [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(-)
--
2.15.1
Powered by blists - more mailing lists