diff options
author | Johan Hovold <[email protected]> | 2018-01-09 17:09:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-01-22 14:17:44 +0100 |
commit | 2460942f51f1f262e77072c9a7c963a1b047a367 (patch) | |
tree | 2069c4934252bd50cafab99d412714ba8a81520e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f8bdfe9d27350735d1cc787a5fd7c25078667496 (diff) |
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 <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions