aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/applesmc.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2008-10-18 23:27:41 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-20 11:52:35 -0400
commit7b5e3cb28f52f42d8cf2b36771be580f33bbc7ae (patch)
tree42beb67d361c7fe91f03459d54d4cd825281ecb5 /drivers/hwmon/applesmc.c
parentf5274c972bac2d14c092a9c634e03f51785c7b76 (diff)
drivers/hwmon/applesmc.c: remove unneeded casts
dmi_system_id.driver_data is already void*. Cc: Henrik Rydberg <rydberg@euromail.se> Cc: Nicolas Boichat <nicolas@boichat.ch> Cc: Riki Oktarianto <rkoktarianto@gmail.com> Cc: Mark M. Hoffman <mhoffman@lightlink.com> Cc: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/applesmc.c')
-rw-r--r--drivers/hwmon/applesmc.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
index b57bd82504a7..208520c6eb0e 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -1272,35 +1272,35 @@ static __initdata struct dmi_system_id applesmc_whitelist[] = {
1272 { applesmc_dmi_match, "Apple MacBook Air", { 1272 { applesmc_dmi_match, "Apple MacBook Air", {
1273 DMI_MATCH(DMI_BOARD_VENDOR, "Apple"), 1273 DMI_MATCH(DMI_BOARD_VENDOR, "Apple"),
1274 DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir") }, 1274 DMI_MATCH(DMI_PRODUCT_NAME, "MacBookAir") },
1275 (void*)&applesmc_dmi_data[7]}, 1275 &applesmc_dmi_data[7]},
1276 { applesmc_dmi_match, "Apple MacBook Pro", { 1276 { applesmc_dmi_match, "Apple MacBook Pro", {
1277 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"), 1277 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
1278 DMI_MATCH(DMI_PRODUCT_NAME,"MacBookPro") }, 1278 DMI_MATCH(DMI_PRODUCT_NAME,"MacBookPro") },
1279 (void*)&applesmc_dmi_data[0]}, 1279 &applesmc_dmi_data[0]},
1280 { applesmc_dmi_match, "Apple MacBook (v2)", { 1280 { applesmc_dmi_match, "Apple MacBook (v2)", {
1281 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"), 1281 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
1282 DMI_MATCH(DMI_PRODUCT_NAME,"MacBook2") }, 1282 DMI_MATCH(DMI_PRODUCT_NAME,"MacBook2") },
1283 (void*)&applesmc_dmi_data[1]}, 1283 &applesmc_dmi_data[1]},
1284 { applesmc_dmi_match, "Apple MacBook (v3)", { 1284 { applesmc_dmi_match, "Apple MacBook (v3)", {
1285 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"), 1285 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
1286 DMI_MATCH(DMI_PRODUCT_NAME,"MacBook3") }, 1286 DMI_MATCH(DMI_PRODUCT_NAME,"MacBook3") },
1287 (void*)&applesmc_dmi_data[6]}, 1287 &applesmc_dmi_data[6]},
1288 { applesmc_dmi_match, "Apple MacBook", { 1288 { applesmc_dmi_match, "Apple MacBook", {
1289 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"), 1289 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
1290 DMI_MATCH(DMI_PRODUCT_NAME,"MacBook") }, 1290 DMI_MATCH(DMI_PRODUCT_NAME,"MacBook") },
1291 (void*)&applesmc_dmi_data[2]}, 1291 &applesmc_dmi_data[2]},
1292 { applesmc_dmi_match, "Apple Macmini", { 1292 { applesmc_dmi_match, "Apple Macmini", {
1293 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"), 1293 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
1294 DMI_MATCH(DMI_PRODUCT_NAME,"Macmini") }, 1294 DMI_MATCH(DMI_PRODUCT_NAME,"Macmini") },
1295 (void*)&applesmc_dmi_data[3]}, 1295 &applesmc_dmi_data[3]},
1296 { applesmc_dmi_match, "Apple MacPro2", { 1296 { applesmc_dmi_match, "Apple MacPro2", {
1297 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"), 1297 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
1298 DMI_MATCH(DMI_PRODUCT_NAME,"MacPro2") }, 1298 DMI_MATCH(DMI_PRODUCT_NAME,"MacPro2") },
1299 (void*)&applesmc_dmi_data[4]}, 1299 &applesmc_dmi_data[4]},
1300 { applesmc_dmi_match, "Apple iMac", { 1300 { applesmc_dmi_match, "Apple iMac", {
1301 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"), 1301 DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
1302 DMI_MATCH(DMI_PRODUCT_NAME,"iMac") }, 1302 DMI_MATCH(DMI_PRODUCT_NAME,"iMac") },
1303 (void*)&applesmc_dmi_data[5]}, 1303 &applesmc_dmi_data[5]},
1304 { .ident = NULL } 1304 { .ident = NULL }
1305}; 1305};
1306 1306