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)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:04 +0000 (16:52 -0700)
commit1f9fa5216eacf4fdf9d3e4ab57feb8b642f0e78b
treee77844b9efe465f9265d502f91c1b0864a64b590
parent6915e04f8847bea16d0890f559694ad8eedd026c
drivers/misc/ad525x_dpot.c: fix typo in spi write16 and write24 transfer counts

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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/misc/ad525x_dpot-spi.c