From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: [PATCH] i2c: boilerplate function for byte swapped smbus_write/read_word_data Date: Tue, 11 Oct 2011 13:49:06 +0200 Message-ID: <20111011134906.60a8c284@endymion.delvare> References: <20111009094118.44b616bf@endymion.delvare> <1318237663-13937-2-git-send-email-jic23@cam.ac.uk> <20111010135014.72598737@endymion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20111010135014.72598737-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jonathan Cameron Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ben-linux-elnMNo+KYs3YtjvyW6yDsg@public.gmane.org, Michael.Hennerich-OyLXuOCK7orQT0dZR+AlfA@public.gmane.org List-Id: linux-i2c@vger.kernel.org On Mon, 10 Oct 2011 13:50:14 +0200, Jean Delvare wrote: > On Mon, 10 Oct 2011 10:07:43 +0100, Jonathan Cameron wrote: > > Reimplemented at least 17 times discounting error mangling cases > > where it could be used. > > > > Signed-off-by: Jonathan Cameron > > --- > > Documentation/i2c/smbus-protocol | 8 ++++++++ > > include/linux/i2c.h | 17 +++++++++++++++++ > > 2 files changed, 25 insertions(+), 0 deletions(-) > > Applied, thanks. BTW... I have a patch ready converting all concerned hwmon drivers to use the new functions. I would appreciate if you could take care of all other drivers. Thanks, -- Jean Delvare