From: Nishanth Menon Date: Tue, 26 Mar 2013 08:25:58 -0500 Subject: [U-Boot] [PATCH V2 0/9] OMAP3-5: TWL[46]03[05]: cleanup register access and misc minimal cleanups In-Reply-To: <51516AE2.9090605@ti.com> References: <1363988004-25819-1-git-send-email-nm@ti.com> <51508DC6.2090304@ti.com> <51516AE2.9090605@ti.com> Message-ID: <20130326132558.GA16539@kahuna> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 15:01-20130326, Sricharan R wrote: > approach we will end up creating a new tps659038.h which does exactly > the same thing. This does not feel correct. Can't we differentiate > using register names that are passed instead ? tps659038/twl6035/twl6037 all belong to palmas family of PMICs. So, how about renaming the file to palmas.c and use palmas_i2c_read/write functions? -- Regards, Nishanth Menon