OSDN Git Service

spi/xilinx: Remove rx_fn and tx_fn pointer
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Wed, 28 Jan 2015 12:23:47 +0000 (13:23 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jan 2015 19:42:42 +0000 (19:42 +0000)
commit24ba5e593f391507c614f5b62065194e6593a658
treeb853b2dec896c440e7393f350c4f6d3fe67378fb
parentf9c6ef6cfe9c16b6681607afd7e4f8379e615c4f
spi/xilinx: Remove rx_fn and tx_fn pointer

Simplify the code by removing the tx and and rx function pointers and
substitute them by a single function.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-xilinx.c