f71805f.c (27eb2c4b3d3e13f376a359e293c212a2e9407af5) | f71805f.c (a8b3a3a53f9a814e9938ea9cc179086ff5c0a387) |
---|---|
1/* 2 * f71805f.c - driver for the Fintek F71805F/FG and F71872F/FG Super-I/O 3 * chips integrated hardware monitoring features 4 * Copyright (C) 2005-2006 Jean Delvare <khali@linux-fr.org> 5 * 6 * The F71805F/FG is a LPC Super-I/O chip made by Fintek. It integrates 7 * complete hardware monitoring features: voltage, fan and temperature 8 * sensors, and manual and automatic fan speed control. --- 1361 unchanged lines hidden (view full) --- 1370 f71805f_write8(data, F71805F_REG_FAN_CTRL(i), 1371 data->fan_ctrl[i]); 1372 } 1373 } 1374} 1375 1376static int f71805f_probe(struct platform_device *pdev) 1377{ | 1/* 2 * f71805f.c - driver for the Fintek F71805F/FG and F71872F/FG Super-I/O 3 * chips integrated hardware monitoring features 4 * Copyright (C) 2005-2006 Jean Delvare <khali@linux-fr.org> 5 * 6 * The F71805F/FG is a LPC Super-I/O chip made by Fintek. It integrates 7 * complete hardware monitoring features: voltage, fan and temperature 8 * sensors, and manual and automatic fan speed control. --- 1361 unchanged lines hidden (view full) --- 1370 f71805f_write8(data, F71805F_REG_FAN_CTRL(i), 1371 data->fan_ctrl[i]); 1372 } 1373 } 1374} 1375 1376static int f71805f_probe(struct platform_device *pdev) 1377{ |
1378 struct f71805f_sio_data *sio_data = pdev->dev.platform_data; | 1378 struct f71805f_sio_data *sio_data = dev_get_platdata(&pdev->dev); |
1379 struct f71805f_data *data; 1380 struct resource *res; 1381 int i, err; 1382 1383 static const char * const names[] = { 1384 "f71805f", 1385 "f71872f", 1386 }; --- 270 unchanged lines hidden --- | 1379 struct f71805f_data *data; 1380 struct resource *res; 1381 int i, err; 1382 1383 static const char * const names[] = { 1384 "f71805f", 1385 "f71872f", 1386 }; --- 270 unchanged lines hidden --- |