mei: hdcp: match without driver name
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 23 Jan 2024 10:16:22 +0000 (12:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jan 2024 00:19:59 +0000 (16:19 -0800)
commit6244a8b6e3fc39f6d78911b4e8e0f595be1101b4
treeb4df98ccc200d4b42dc8f495b50cceb41857b80c
parent0e59f01d7c6820957d28ca252f8da4041d12b6da
mei: hdcp: match without driver name

Xe driver uses this component too, but current match function
matches by i915 driver name.
Remove dependency on i915 driver name in component_match function.
Use PCI header information to match Intel graphics device.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20240123101625.220365-2-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hdcp/mei_hdcp.c