wifi: wfx: align declarations between bus_spi.c and bus_sdio.c
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 4 Mar 2025 15:32:20 +0000 (16:32 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 7 Mar 2025 08:24:21 +0000 (09:24 +0100)
Just declare fields in the same order in bus_spi.c and bus_sdio.c

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://patch.msgid.link/20250304153224.39083-2-jerome.pouiller@silabs.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/silabs/wfx/bus_spi.c

index 160b90114aad70406ee43d00eff0a5171f10b868..46278dce7ffc501a7cc071e7cf999a5c52263953 100644 (file)
@@ -274,11 +274,11 @@ MODULE_DEVICE_TABLE(of, wfx_spi_of_match);
 #endif
 
 struct spi_driver wfx_spi_driver = {
+       .id_table = wfx_spi_id,
+       .probe = wfx_spi_probe,
+       .remove = wfx_spi_remove,
        .driver = {
                .name = "wfx-spi",
                .of_match_table = of_match_ptr(wfx_spi_of_match),
        },
-       .id_table = wfx_spi_id,
-       .probe = wfx_spi_probe,
-       .remove = wfx_spi_remove,
 };