From 6cd3209967469f6e89d329deda6bb0b4700e7b62 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Sun, 29 Apr 2012 15:42:27 +0000 Subject: powerpc/powermac: New windfarm driver for PowerMac G5 (AGP) and Xserve G5 This replaces the old therm_pm72 using the same windfarm infrastructure that was used for other PowerMac G5 models. The fan speeds and sensors should now be visible in the same location in sysfs. The driver is split into separate core modules for PowerMac7,2 (and 7,3) and RackMac3,1, with a lot of the shared code now in the separate sensor and control modules. Signed-off-by: Benjamin Herrenschmidt --- drivers/macintosh/windfarm_cpufreq_clamp.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/macintosh/windfarm_cpufreq_clamp.c') diff --git a/drivers/macintosh/windfarm_cpufreq_clamp.c b/drivers/macintosh/windfarm_cpufreq_clamp.c index 1a77a7c97d0e..72d1fdfe02a5 100644 --- a/drivers/macintosh/windfarm_cpufreq_clamp.c +++ b/drivers/macintosh/windfarm_cpufreq_clamp.c @@ -75,12 +75,6 @@ static int __init wf_cpufreq_clamp_init(void) { struct wf_control *clamp; - /* Don't register on old machines that use therm_pm72 for now */ - if (of_machine_is_compatible("PowerMac7,2") || - of_machine_is_compatible("PowerMac7,3") || - of_machine_is_compatible("RackMac3,1")) - return -ENODEV; - clamp = kmalloc(sizeof(struct wf_control), GFP_KERNEL); if (clamp == NULL) return -ENOMEM; -- cgit v1.2.3