Re: [PATCH] NFC: Driver for Inside Secure MicroRead NFC chip

From: Mark Brown
Date: Fri Mar 18 2011 - 11:31:22 EST


On Fri, Mar 18, 2011 at 05:08:39PM +0200, Waldemar.Rymarkiewicz@xxxxxxxxx wrote:
> Wolfram,

> >> + unsigned int irq_gpio;
> >> + unsigned int ioh_gpio;

> >... you should request and setup the GPIOs before using them.

> I assume the board specific code will do so.

The usual pattern is that the code which uses the GPIO requests it,
otherwise all the users just end up having to replicate the setup and
teardown code for them.
--
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/