]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f93816ec12f37c99c93ca8879181b95f7fad355
tree989cb1340f03b5430af07ae1bea37703100c42ae
parent8f72002bad3060f54f2f84748059dd40efbf4648
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