From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH] i2c: add irq_flags to board info Date: Wed, 20 Oct 2010 19:59:25 +0100 Message-ID: <20101020185924.GA7721@sirena.org.uk> References: <1287359019-1476-1-git-send-email-vapier@gentoo.org> <20101018103610.77b7e605@endymion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20101018103610.77b7e605-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jean Delvare Cc: Mike Frysinger , linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, uclinux-dist-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org, device-drivers-devel-ZG0+EudsQA8dtHy/vicBwGD2FQJk+8+b@public.gmane.org, Michael Hennerich List-Id: linux-i2c@vger.kernel.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755213Ab0JTS73 (ORCPT ); Wed, 20 Oct 2010 14:59:29 -0400 Received: from cassiel.sirena.org.uk ([80.68.93.111]:52232 "EHLO cassiel.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753044Ab0JTS71 (ORCPT ); Wed, 20 Oct 2010 14:59:27 -0400 Date: Wed, 20 Oct 2010 19:59:25 +0100 From: Mark Brown To: Jean Delvare Cc: Mike Frysinger , linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, uclinux-dist-devel@blackfin.uclinux.org, device-drivers-devel@blackfin.uclinux.org, Michael Hennerich Subject: Re: [PATCH] i2c: add irq_flags to board info Message-ID: <20101020185924.GA7721@sirena.org.uk> References: <1287359019-1476-1-git-send-email-vapier@gentoo.org> <20101018103610.77b7e605@endymion.delvare> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101018103610.77b7e605@endymion.delvare> X-Cookie: I am two with nature. User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: broonie@sirena.org.uk X-SA-Exim-Scanned: No (on cassiel.sirena.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.