[PATCH] MMCI: use _cansleep GPIO functions

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Sep 11 07:32:36 EDT 2010


On Sat, Sep 11, 2010 at 01:22:04PM +0200, Linus Walleij wrote:
> I'll slam in some intermediate bool or something so it's super
> clear what's happening, OK?

No - once you've learnt that !! turns an int into a bool, there's
nothing more that needs to be done.

You'll find !! used throughout the kernel sources.



More information about the linux-arm-kernel mailing list