spi/bfin_spi: convert read/write/duplex funcs to a dedicated ops structure
authorMike Frysinger <vapier@gentoo.org>
Thu, 24 Sep 2009 01:04:04 +0000 (01:04 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 18 Oct 2010 06:49:33 +0000 (02:49 -0400)
commit9c4542c7a3082bf74f00145355ef407ac82c0b3f
treeea9081cd8ced14c6c8276caf6de4bb9f74ace8d9
parentf4f50c3ff7815d83dcbb19341f35db2f408ac4f8
spi/bfin_spi: convert read/write/duplex funcs to a dedicated ops structure

Rather than having to look up the same 3 sets of functions at the same
time, just use an ops structure so we only need to set one pointer.

Reported-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
drivers/spi/spi_bfin5xx.c