From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 6 Dec 2008 18:49:05 +0100 Subject: [U-Boot] [PATCH v3] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions In-Reply-To: <1228325310-19275-1-git-send-email-timur@freescale.com> References: <1228325310-19275-1-git-send-email-timur@freescale.com> Message-ID: <20081206174905.GJ2977@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11:28 Wed 03 Dec , Timur Tabi wrote: > All implementations of the functions i2c_reg_read() and i2c_reg_write() are > identical. We can save space and simplify the code by converting these > functions into inlines and putting them in i2c.h. > > Signed-off-by: Timur Tabi Ack-By: Jean-Christophe PLAGNIOL-VILLARD Best Regards, J.