usb: appledisplay: use module_usb_driver to simplify the code
authorLiu Shixin <liushixin2@huawei.com>
Fri, 18 Sep 2020 03:10:12 +0000 (11:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Sep 2020 08:37:19 +0000 (10:37 +0200)
commit183fba0ab1f90df01836408e52eb9fb63ee753d8
tree3c5daca11e716dc912df2cbf7605e88639512139
parent0895660941164c0f374dd8f20c1343bb8ca636bb
usb: appledisplay: use module_usb_driver to simplify the code

module_usb_driver() makes the code simpler by eliminating
boilerplate code.

Signed-off-by: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20200918031012.3980558-1-liushixin2@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/appledisplay.c