drivers/misc/ad525x_dpot.c: fix typo in spi write16 and write24 transfer counts
authorMichael Hennerich <michael.hennerich@analog.com>
Tue, 26 Oct 2010 21:21:16 +0000 (14:21 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:32:36 +0000 (13:32 -0800)
commitb8cac271f77f52f13bad85509c30bc7afb369777
treeb3d0b1aa802cb4e8d090d823fd59dcd9ad801e9a
parent7075941020fb01b374d63e43ebf63912930ae602
drivers/misc/ad525x_dpot.c: fix typo in spi write16 and write24 transfer counts

commit 1f9fa5216eacf4fdf9d3e4ab57feb8b642f0e78b upstream.

This is a bug fix.  Some SPI connected devices using 16/24 bit accesses,
previously failed, now work.

This typo slipped in after testing, during some restructuring.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Chris Verges <chrisv@cyberswitching.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/misc/ad525x_dpot-spi.c