]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: usbhid: Share USB device firmware node with child HID device
authorDanny Kaehn <danny.kaehn@plexus.com>
Wed, 5 Jun 2024 23:12:45 +0000 (18:12 -0500)
committerBenjamin Tissoires <bentiss@kernel.org>
Thu, 6 Jun 2024 07:29:07 +0000 (09:29 +0200)
commitb81881b9c10e1f5eafc02df026663b824610d537
tree28a27999f5aed2ccc3379b2cec3a62572d01b546
parent748fe4399f9194285a91ec8c09141e49a6b470b4
HID: usbhid: Share USB device firmware node with child HID device

USB HID core now shares its fwnode with its child HID device.
Since there can only be one HID device on a USB interface, it is redundant
to specify a hid node under the USB device. This allows usb HID device
drivers to be described in firmware and make use of device properties.

Signed-off-by: Danny Kaehn <danny.kaehn@plexus.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240605-cp2112-dt-v11-2-d55f0f945a62@plexus.com
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
drivers/hid/usbhid/hid-core.c