Re: [PATCH] leds: Add WM8350 LED driver

From: Mark Brown
Date: Mon Nov 17 2008 - 06:57:23 EST


On Fri, Nov 14, 2008 at 03:19:08PM -0800, Andrew Morton wrote:

> > + led_classdev_unregister(&led->cdev);
> > + schedule_work(&led->work);
> > + flush_scheduled_work();

> The schedule_work() is unexpected and I can't immediately see why it's
> here. If it is indeed correct, I'd suggest the addition of a comment.

Me either, I'll remove it and fix the other things you raised too.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/