Re: [PATCH] i2c: update for semaphore to mutex conversion of devices

From: Stephen Rothwell
Date: Tue Mar 09 2010 - 05:47:25 EST


Hi Jean,

On Tue, 9 Mar 2010 11:39:50 +0100 Jean Delvare <khali@xxxxxxxxxxxx> wrote:
>
> > Thanks. The include of mutex.h is not actually needed yet as Greg didn't
> > send the semaphore to mutex change to Linus due to other issues.
>
> It will never be needed, and I also removed the include of semaphore.h.
> The beauty of the new API is that it hides the implementation details
> from the caller!

Yeah, except it scares me a little since device.h currently does not
directly include semaphore.h and the patch that changes the semaphore to
a mutex does not include mutex.h in device.h either ...

I guess that is a problem for Greg, though.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature