Messages in this thread | | | Date | Wed, 20 Oct 2010 19:59:25 +0100 | From | Mark Brown <> | Subject | Re: [PATCH] i2c: add irq_flags to board info |
| |
On Mon, Oct 18, 2010 at 10:36:10AM +0200, Jean Delvare wrote: > On Sun, 17 Oct 2010 19:43:39 -0400, Mike Frysinger wrote:
> > This allows us to avoid having to add dedicated platform init code just > > to call set_irq_type()
> Do you have examples of this? Can we see a preview of the amount of > cleanups this patch would allow?
wm831x has platform data for this. It doesn't actually call set_irq_type(), it parses the platform data before calling request_threaded_irq(), but the principle is the same.
| |