Input: walkera0701 - use module_parport_driver macro to simplify the code
authorLi Zetao <lizetao1@huawei.com>
Tue, 15 Aug 2023 20:13:46 +0000 (13:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 29 Oct 2023 02:56:46 +0000 (02:56 +0000)
commit28d3fe32354701decc3e76d89712569c269b5e4f
tree39c40d1a9dfbfbdeef59d4d83b4407d7cc3b9678
parenteb988e46da2e4eae89f5337e047ce372fe33d5b1
Input: walkera0701 - use module_parport_driver macro to simplify the code

Use the module_parport_driver macro to simplify the code, which is the
same as declaring with module_init() and module_exit().

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20230815080107.1089401-1-lizetao1@huawei.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/walkera0701.c