diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-08-18 00:51:54 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-08-20 13:35:59 +0300 |
commit | 331de7db3012b8e8e8d77beebc8f743e288d4c42 (patch) | |
tree | 616ade37e28ed694b604e7f49f5713170ef11ad5 /sound | |
parent | c7782443a88926a4f938f0193041616328cf2db2 (diff) | |
download | linux-331de7db3012b8e8e8d77beebc8f743e288d4c42.tar.xz |
drm/connector: Give connector sysfs devices there own device_type
Give connector sysfs devices there own device_type, this allows us to
check if a device passed to functions dealing with generic devices is
a drm_connector or not.
A check like this is necessary in the drm_connector_acpi_bus_match()
function added in the next patch in this series.
Tested-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Link: https://lore.kernel.org/r/20210817215201.795062-2-hdegoede@redhat.com
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions