Revert "usb: gadget: hid: Convert to use list_count()"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Nov 2022 11:02:13 +0000 (12:02 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Nov 2022 11:06:51 +0000 (12:06 +0100)
commit54aa8af53905e39a825773883914810033f4d3d3
treef33702b2b297322bbd42965d6c86fde1b4fad40c
parentacebf61919199771b5d7b92c68c5b515dfcbf800
Revert "usb: gadget: hid: Convert to use list_count()"

This reverts commit 33f00f41d963c86176dba2f9faff9b428a542e60 as it
breaks the build.

Link: https://lore.kernel.org/r/20221130131854.35b58b16@canb.auug.org.au
Link: https://lore.kernel.org/r/202211301628.iwMjPVMp-lkp@intel.com
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/legacy/hid.c