Re: [PATCH 0/2] serdev: bus-code clean ups
From: Johan Hovold
Date: Mon Jan 08 2018 - 08:50:28 EST
On Mon, Jan 08, 2018 at 01:42:31PM +0100, Johan Hovold wrote:
> 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).
I somehow forgot to CC Hans. Sorry about that. This series can be found
here:
https://lkml.kernel.org/r/20180108124233.26729-1-johan@xxxxxxxxxx
> 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(-)
Johan