From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@arm.linux.org.uk (Russell King - ARM Linux) Date: Sat, 11 Sep 2010 12:32:36 +0100 Subject: [PATCH] MMCI: use _cansleep GPIO functions In-Reply-To: References: <1284064315-14515-1-git-send-email-linus.walleij@stericsson.com> Message-ID: <20100911113236.GA25922@n2100.arm.linux.org.uk> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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.