Re: [PATCH 3/6] regulator: Warn when unregistering an in-useregulator

From: Mark Brown
Date: Thu Jul 23 2009 - 04:39:39 EST


On Wed, Jul 22, 2009 at 09:14:54PM +0100, Liam Girdwood wrote:
> On Tue, 2009-07-21 at 16:00 +0100, Mark Brown wrote:

> > mutex_lock(&regulator_list_mutex);
> > + WARN_ON(rdev->open_count)

> Missing ; Fixed.

Thanks. The scary thing is that it compiles for me.

>
> > unset_regulator_supplies(rdev);
> > list_del(&rdev->list);
> > if (rdev->supply)
>
> Applied.
>
> Thanks
>
> Liam
>
--
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/