[RFC PATCH] staging: ak8975: add platform data.
Jean Delvare
khali at linux-fr.org
Wed Feb 23 00:19:39 PST 2011
On Tue, 22 Feb 2011 21:55:55 +0000, Mark Brown wrote:
> On Tue, Feb 22, 2011 at 12:35:13PM +0000, Jonathan Cameron wrote:
>
> > I thought this actually allowed for gpio's but right now can't figure out how
> > to handle them. What it definitely does handle cleanly is devices with multiple
> > irq's.
>
> > You basically get to query for resources by name so can pass lots of 'platform data'
> > type stuff without having to define a specific structure for passing it in.
>
> There's no standard support for GPIOs as resources - this is always done
> using platform data these days.
Would it make sense to add this? I have no opinion on the question, not
being a big user of GPIO, just wondering.
--
Jean Delvare
More information about the devel
mailing list