spi/xilinx: Eliminate pdata references from common code.
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 14 Oct 2010 14:54:55 +0000 (08:54 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 10 Nov 2010 04:41:27 +0000 (21:41 -0700)
commit91565c4068042b3d8e37e64e393ca105476419bd
tree3281cb89e60641766c8cfe94ebf4fbe47baa54f0
parentf6614b7bb405a9b35dd28baea989a749492c46b2
spi/xilinx: Eliminate pdata references from common code.

The current code has the OF binding modifying the platform_data
pointer which it must not do, and the common code doesn't really need
to use a pdata pointer.  This patch eliminates the platform_data
references from the common part of the driver in preparation for
merging the OF and non-OF versions.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Michal Simek <monstr@monstr.eu>
drivers/spi/xilinx_spi.c
drivers/spi/xilinx_spi.h
drivers/spi/xilinx_spi_of.c
drivers/spi/xilinx_spi_pltfm.c