Skip to content

Commit

Permalink
wifi: wilc1000: replace open-coded module_sdio_driver()
Browse files Browse the repository at this point in the history
Use module_sdio_driver() instead of open-coding it.  No functional
difference.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240329171019.63836-5-krzysztof.kozlowski@linaro.org
  • Loading branch information
Krzysztof Kozlowski authored and Kalle Valo committed Apr 5, 2024
1 parent 718fcb7 commit c33c93e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/net/wireless/microchip/wilc1000/sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -981,8 +981,7 @@ static struct sdio_driver wilc_sdio_driver = {
.of_match_table = wilc_of_match,
}
};
module_driver(wilc_sdio_driver,
sdio_register_driver,
sdio_unregister_driver);
module_sdio_driver(wilc_sdio_driver);

MODULE_DESCRIPTION("Atmel WILC1000 SDIO wireless driver");
MODULE_LICENSE("GPL");

0 comments on commit c33c93e

Please sign in to comment.