diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-11-23 17:48:59 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-11-29 10:56:09 +0300 |
commit | 33f00f41d963c86176dba2f9faff9b428a542e60 (patch) | |
tree | 9cd6c974bbe0f54cc8eef8f84ef659512fdde7d0 /drivers/usb/gadget/config.c | |
parent | a9efc04cfd05690e91279f41c2325c46335c43ef (diff) | |
download | linux-33f00f41d963c86176dba2f9faff9b428a542e60.tar.xz |
usb: gadget: hid: Convert to use list_count()
The list API now provides the list_count() to help with counting
existing nodes in the list. Utilise it.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221123144901.40493-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/config.c')
0 files changed, 0 insertions, 0 deletions