[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090720185253.GA7984@gandalf>
Date: Mon, 20 Jul 2009 21:52:54 +0300
From: Felipe Balbi <me@...ipebalbi.com>
To: balajitk@...com
Cc: linux-kernel@...r.kernel.org, tony@...mide.com,
khilman@...prootsystems.com, david-b@...bell.net,
linux-omap@...r.kernel.org, linux-i2c@...r.kernel.org,
sameo@...nedhand.com, wim@...ana.be, timo.t.kokkonen@...ia.com,
ben-linux@...ff.org, lrg@...mlogic.co.uk,
broonie@...nsource.wolfsonmicro.com,
Santosh Shilimkar <santosh.shilimkar@...com>,
Rajendra Nayak <rnayak@...com>
Subject: Re: [PATCH 1/4] ARM: OMAP: Rename twl4030* driver files to enable
re-use
Hi,
On Mon, Jul 20, 2009 at 07:01:11PM +0530, balajitk@...com wrote:
> From: Santosh Shilimkar <santosh.shilimkar@...com>
>
> The upcoming TWL6030 is companion chip for OMAP4 like the current TWL4030
> for OMAP3. The common modules like RTC, Regulator creates opportunity
> to re-use the most of the code from twl4030.
>
> This patch renames few common drivers twl4030* files to twl* to enable
> the code re-use.
>
> Signed-off-by: Rajendra Nayak <rnayak@...com>
> Signed-off-by: Balaji T K <balajitk@...com>
> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@...com>
> ---
> arch/arm/mach-omap2/board-2430sdp.c | 2 +-
> arch/arm/mach-omap2/board-3430sdp.c | 2 +-
> arch/arm/mach-omap2/board-ldp.c | 2 +-
> arch/arm/mach-omap2/board-omap3beagle.c | 2 +-
> arch/arm/mach-omap2/board-omap3pandora.c | 2 +-
> arch/arm/mach-omap2/board-overo.c | 2 +-
> drivers/gpio/twl4030-gpio.c | 2 +-
> drivers/mfd/Makefile | 2 +-
> drivers/mfd/{twl4030-core.c => twl-core.c} | 8 +++-----
> drivers/mfd/twl4030-irq.c | 2 +-
> drivers/regulator/Makefile | 2 +-
> .../{twl4030-regulator.c => twl-regulator.c} | 6 +++---
> drivers/rtc/Makefile | 2 +-
> drivers/rtc/{rtc-twl4030.c => rtc-twl.c} | 2 +-
> drivers/usb/otg/twl4030-usb.c | 2 +-
> include/linux/i2c/{twl4030.h => twl.h} | 5 ++++-
> sound/soc/codecs/twl4030.c | 2 +-
this is kinda useless, we can consider twl6030 as being sw compatible
(almost) with twl4030. And twl4030 driver already support plenty of
other devices, just look at drivers/mfd/twl4030-core.c lines 807 - 814.
We have twl4003, twl5030, tps65950, tps65930 and tps65920.
So IMO, renaming the files is unnecessary.
--
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