linux/drivers/tty/serdev
Johan Hovold 2460942f51 serdev: do not generate modaliases for controllers
Serdev controllers are not bound to any drivers and it therefore makes
no sense to generate modaliases for them.

This has already been fixed separately for ACPI controllers for which
uevent errors were also being logged during probe due to the missing
ACPI companions (from which ACPI modaliases are generated).

This patch moves the modalias handling from the bus type to the client
device type. Specifically, this means that only serdev devices (a.k.a.
clients or slaves) will have have MODALIAS fields in their uevent
environments and corresponding modalias sysfs attributes.

Also add the missing static keyword for the modalias device attribute
when moving the definition.

Reported-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-22 14:17:44 +01:00
..
core.c serdev: do not generate modaliases for controllers 2018-01-22 14:17:44 +01:00
Kconfig serdev: enable TTY port controller support by default 2017-10-20 14:20:06 +02:00
Makefile
serdev-ttyport.c serdev: ttyport: do not used keyed wakeup in write_wakeup 2017-12-18 12:25:14 +01:00