From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sricharan R Date: Tue, 26 Mar 2013 19:04:12 +0530 Subject: [U-Boot] [PATCH V2 0/9] OMAP3-5: TWL[46]03[05]: cleanup register access and misc minimal cleanups In-Reply-To: <20130326132558.GA16539@kahuna> References: <1363988004-25819-1-git-send-email-nm@ti.com> <51508DC6.2090304@ti.com> <51516AE2.9090605@ti.com> <20130326132558.GA16539@kahuna> Message-ID: <5151A3D4.3070608@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tuesday 26 March 2013 06:55 PM, Nishanth Menon wrote: > 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? > Yes, sounds good. Regards, Sricharan