mfd: dln2: Automatically detect and fill endpoint pointers
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 17 Jun 2022 18:23:38 +0000 (21:23 +0300)
committerLee Jones <lee@kernel.org>
Tue, 19 Jul 2022 09:54:40 +0000 (10:54 +0100)
commit99a7ec2f362261be1ccca702da099f39127a3388
tree5e5b48add21d2aab3a14e4db722f4d3eeccabd3b
parent7e47943c3357222b9a970002a11f49b47152661a
mfd: dln2: Automatically detect and fill endpoint pointers

The usb_find_common_endpoints() finds and fills the endpoints
in accordance with their types. Use it to automatically detect
and fill endpoint pointers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220617182338.32402-1-andriy.shevchenko@linux.intel.com
drivers/mfd/dln2.c