> +static void at803x_led_work(struct work_struct *work) > +{ > + struct at803x_phy_led *led = > + container_of(work, struct at803x_phy_led, work); > + union at803x_led_manual_ctrl regval = led->regval; > + > + phy_write(led->led_grp->phydev, led->reg, regval.value); > +} > +
There has recently been a big refactoring of the LED code. You should no longer need a work queue. The core will do that for you. Andrew