Re: [PATCH] i2c: add irq_flags to board info
From: Mark Brown
Date: Wed Oct 20 2010 - 14:59:31 EST
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.
--
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/