staging: r8188eu: use IW_HANDLER to declare wext handlers
authorMartin Kaiser <martin@kaiser.cx>
Sat, 7 Aug 2021 15:36:34 +0000 (17:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Aug 2021 10:14:19 +0000 (12:14 +0200)
commitda2aa1ecad1c9fcbe8fb2c16d91dbe99d264667c
tree2e3e09fbc9d71fa3f0e4c66f70adabe54f3f7d21
parenta8357683dbfea39573b3d854fbc56b636ba1ad3a
staging: r8188eu: use IW_HANDLER to declare wext handlers

Use the IW_HANDLER macro to declare the handler functions for
wext ioctls. We don't have to skip unused ioctl numbers manually.

The same modification was applied to the deprecated rtl8188eu driver in
commit af249fce390f ("staging: rtl8188eu: use IW_HANDLER to declare wext
handlers").

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210807153636.11712-11-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/os_dep/ioctl_linux.c