[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090721052447.GA13013@gandalf>
Date: Tue, 21 Jul 2009 08:24:48 +0300
From: Felipe Balbi <me@...ipebalbi.com>
To: "Shilimkar, Santosh" <santosh.shilimkar@...com>
Cc: "me@...ipebalbi.com" <me@...ipebalbi.com>,
"Krishnamoorthy, Balaji T" <balajitk@...com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"tony@...mide.com" <tony@...mide.com>,
"khilman@...prootsystems.com" <khilman@...prootsystems.com>,
"david-b@...bell.net" <david-b@...bell.net>,
"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
"linux-i2c@...r.kernel.org" <linux-i2c@...r.kernel.org>,
"sameo@...nedhand.com" <sameo@...nedhand.com>,
"wim@...ana.be" <wim@...ana.be>,
"timo.t.kokkonen@...ia.com" <timo.t.kokkonen@...ia.com>,
"ben-linux@...ff.org" <ben-linux@...ff.org>,
"lrg@...mlogic.co.uk" <lrg@...mlogic.co.uk>,
"broonie@...nsource.wolfsonmicro.com"
<broonie@...nsource.wolfsonmicro.com>,
"Nayak, Rajendra" <rnayak@...com>
Subject: Re: [PATCH 1/4] ARM: OMAP: Rename twl4030* driver files to enable
re-use
hi,
On Tue, Jul 21, 2009 at 10:01:06AM +0530, Shilimkar, Santosh wrote:
> > So IMO, renaming the files is unnecessary.
> Well tps* are just catalog names of the twl4* family. So you can keep adding whatever names there as long it's a same IC.
>
> Perhaps you look in hurry to comment about this. Please look at the intention of these patches. TWL6030 has PM IC similar to TWL4030 with bit different interrupt management. Audio IC is a separate one as compared to combined in case of TWL4030.
>
> If it allows code re-use by renaming files, it should be good. Isn't it ?
What I'm trying to say is you can re-use the code even without renaming
those files, just add twl6030-irq and use some sort of runtime check to
use one or other irq mechanism.
--
balbi
--
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