aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-04-21 17:40:13 -0400
committerGrant Likely <grant.likely@linaro.org>2013-06-12 07:37:30 -0400
commitf70c64f8b095c0c386840f2036a79523bfd66725 (patch)
treea67961a2be9936df5021d9f8cd13f7f3b564c7ef /include
parentc45640e4a9f54f2f6f4bc51c2ba9644ffb3babde (diff)
of: remove of_platform_driver
The last user of of_platform_driver is converted to a regular platform_driver, so of_platform_driver can be removed now. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Grant Likely <grant.likely@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/of_platform.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/linux/of_platform.h b/include/linux/of_platform.h
index 7747ad0027ae..05cb4a928252 100644
--- a/include/linux/of_platform.h
+++ b/include/linux/of_platform.h
@@ -51,27 +51,6 @@ struct of_dev_auxdata {
51 { .compatible = _compat, .phys_addr = _phys, .name = _name, \ 51 { .compatible = _compat, .phys_addr = _phys, .name = _name, \
52 .platform_data = _pdata } 52 .platform_data = _pdata }
53 53
54/**
55 * of_platform_driver - Legacy of-aware driver for platform devices.
56 *
57 * An of_platform_driver driver is attached to a basic platform_device on
58 * the ibm ebus (ibmebus_bus_type).
59 */
60struct of_platform_driver
61{
62 int (*probe)(struct platform_device* dev,
63 const struct of_device_id *match);
64 int (*remove)(struct platform_device* dev);
65
66 int (*suspend)(struct platform_device* dev, pm_message_t state);
67 int (*resume)(struct platform_device* dev);
68 int (*shutdown)(struct platform_device* dev);
69
70 struct device_driver driver;
71};
72#define to_of_platform_driver(drv) \
73 container_of(drv,struct of_platform_driver, driver)
74
75extern const struct of_device_id of_default_bus_match_table[]; 54extern const struct of_device_id of_default_bus_match_table[];
76 55
77/* Platform drivers register/unregister */ 56/* Platform drivers register/unregister */