drivers/net/: all drivers/net/ cleanup with ARRAY_SIZE
[deliverable/linux.git] / drivers / net / wireless / wl3501_cs.c
index cfde68cff94c3cf8dfe6bfab5d81a9e3a64c9f03..2690f291e3f78288fbdb852a252a9a5583e4ba5f 100644 (file)
@@ -1893,7 +1893,7 @@ static const iw_handler   wl3501_handler[] = {
 };
 
 static const struct iw_handler_def wl3501_handler_def = {
-       .num_standard   = sizeof(wl3501_handler) / sizeof(iw_handler),
+       .num_standard   = ARRAY_SIZE(wl3501_handler),
        .standard       = (iw_handler *)wl3501_handler,
        .get_wireless_stats = wl3501_get_wireless_stats,
 };
This page took 0.037819 seconds and 5 git commands to generate.