Skip to content

Commit

Permalink
powerpc/windfarm: Remove spurrious sysfs_attr_init()
Browse files Browse the repository at this point in the history
The windfarm core will do it, so this is a duplicate.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
  • Loading branch information
Benjamin Herrenschmidt committed Apr 30, 2012
1 parent e074d08 commit a94d72b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/macintosh/windfarm_smu_controls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a94d72b

Please sign in to comment.