[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110318153104.GE27129@sirena.org.uk>
Date: Fri, 18 Mar 2011 15:31:04 +0000
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Waldemar.Rymarkiewicz@...to.com
Cc: w.sang@...gutronix.de, linux-i2c@...r.kernel.org, arnd@...db.de,
sameo@...ux.intel.com, linux-kernel@...r.kernel.org,
hthebaud@...idefr.com, matti.j.aaltonen@...ia.com
Subject: Re: [PATCH] NFC: Driver for Inside Secure MicroRead NFC chip
On Fri, Mar 18, 2011 at 05:08:39PM +0200, Waldemar.Rymarkiewicz@...to.com 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists