diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-02-22 23:02:43 -0500 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-02-28 15:22:44 -0500 |
commit | 18d306d1375696b0e6b5b39e4744d7fa2ad5e170 (patch) | |
tree | 670eac5a75e3b6b0c76903da4d3cf6334d28fe5b /drivers/spi/spi_fsl_lib.c | |
parent | e5263a517688b83861d406223a0f111a6e4116ff (diff) |
dt/spi: Eliminate users of of_platform_{,un}register_driver
Get rid of users of of_platform_driver in drivers/spi. The
of_platform_{,un}register_driver functions are going away, so the
users need to be converted to using the platform_bus_type directly.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi_fsl_lib.c')
-rw-r--r-- | drivers/spi/spi_fsl_lib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/spi/spi_fsl_lib.c b/drivers/spi/spi_fsl_lib.c index 5cd741fdb5c3..ff59f42ae990 100644 --- a/drivers/spi/spi_fsl_lib.c +++ b/drivers/spi/spi_fsl_lib.c | |||
@@ -189,8 +189,7 @@ int __devexit mpc8xxx_spi_remove(struct device *dev) | |||
189 | return 0; | 189 | return 0; |
190 | } | 190 | } |
191 | 191 | ||
192 | int __devinit of_mpc8xxx_spi_probe(struct platform_device *ofdev, | 192 | int __devinit of_mpc8xxx_spi_probe(struct platform_device *ofdev) |
193 | const struct of_device_id *ofid) | ||
194 | { | 193 | { |
195 | struct device *dev = &ofdev->dev; | 194 | struct device *dev = &ofdev->dev; |
196 | struct device_node *np = ofdev->dev.of_node; | 195 | struct device_node *np = ofdev->dev.of_node; |