]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/macintosh/windfarm_smu_controls.c
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[karo-tx-linux.git] / drivers / macintosh / windfarm_smu_controls.c
index 3c2be5193fd585b12810916d0feffce7754b2fef..c155a54e8638f65d5da0b1a1507f9b27bfc222a5 100644 (file)
@@ -172,7 +172,6 @@ static struct smu_fan_control *smu_fan_create(struct device_node *node,
 
        fct->fan_type = pwm_fan;
        fct->ctrl.type = pwm_fan ? WF_CONTROL_PWM_FAN : WF_CONTROL_RPM_FAN;
-       sysfs_attr_init(&fct->ctrl.attr.attr);
 
        /* We use the name & location here the same way we do for SMU sensors,
         * see the comment in windfarm_smu_sensors.c. The locations are a bit