diff options
| author | Tony Jones <[email protected]> | 2007-08-20 20:46:20 +0000 |
|---|---|---|
| committer | Mark M. Hoffman <[email protected]> | 2007-10-10 02:56:30 +0000 |
| commit | 1beeffe43311f64df8dd0ab08ff6b1858c58363f (patch) | |
| tree | 039324186049a69f3c791165e90404aef497f3cc /drivers/misc/thinkpad_acpi.c | |
| parent | hwmon: (coretemp) Remove bogus __cpuinitdata etc cleanup (diff) | |
| download | kernel-1beeffe43311f64df8dd0ab08ff6b1858c58363f.tar.gz kernel-1beeffe43311f64df8dd0ab08ff6b1858c58363f.zip | |
hwmon: Convert from class_device to device
Convert from class_device to device for hwmon_device_register/unregister
Signed-off-by: Tony Jones <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Kay Sievers <[email protected]>
Signed-off-by: Mark M. Hoffman <[email protected]>
Diffstat (limited to 'drivers/misc/thinkpad_acpi.c')
| -rw-r--r-- | drivers/misc/thinkpad_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/thinkpad_acpi.c b/drivers/misc/thinkpad_acpi.c index 0222bbaf7b76..a717a25fb86a 100644 --- a/drivers/misc/thinkpad_acpi.c +++ b/drivers/misc/thinkpad_acpi.c @@ -517,7 +517,7 @@ static char *next_cmd(char **cmds) ****************************************************************************/ static struct platform_device *tpacpi_pdev; -static struct class_device *tpacpi_hwmon; +static struct device *tpacpi_hwmon; static struct input_dev *tpacpi_inputdev; |
