spi/xilinx: Remove remains of of_platform device registration
authorMark Brown <broonie@linaro.org>
Wed, 3 Jul 2013 11:05:42 +0000 (12:05 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:45:52 +0000 (11:45 +0100)
commitd81c0bbbf84086568b559bee59e4a93aba4a6e0f
tree989cb1340f03b5430af07ae1bea37703100c42ae
parentc40537d008ab1b4fe2f12641cca1462de10a95f7
spi/xilinx: Remove remains of of_platform device registration

In the past there used to be a separate platform device type for device
tree systems so the probe and removal functions were split into generic
and bus sections. Since this is no longer the case simplify the code (and
remove some unprototyped exports) by factoring everything into the bus
probe() and remove().

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-xilinx.c