aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2024-06-12 18:04:48 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-06-27 16:06:51 +0200
commitc456c5763da4042348040e2ad727f10f7ac17982 (patch)
tree112e0ce4595b643c3370c35b714ba6a379d7d355 /mm
parentb38aa697bcdc6529a912c18ddd093b1329b3d8b1 (diff)
usb: misc: onboard_usb_dev: Add match function
Add a match function for the onboard_usb_dev driver. Primary matching is still done through the VID:PID pair, as usual for USB devices. The new match function checks in addition whether the device has a device tree node, which is a needed for using the onboard_usb_dev driver. Remove the check for a device tree node from _probe(), the new match functions prevents devices without DT node from probing. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Tested-by: Jameson Thies <jthies@google.com> Reviewed-by: Jameson Thies <jthies@google.com> Link: https://lore.kernel.org/r/20240612180448.1.I805556c176c626872c15ce001f0e8198e1f95ae1@changeid Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions