diff options
author | Rob Herring <rob.herring@calxeda.com> | 2013-04-20 22:51:08 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@linaro.org> | 2013-06-12 07:37:26 -0400 |
commit | c45640e4a9f54f2f6f4bc51c2ba9644ffb3babde (patch) | |
tree | 34e8f3abdc997feb2953b915334e9dd2015a3bf4 /drivers/infiniband/hw/ehca/ehca_main.c | |
parent | 10dbc5e39a60944536f3ca59bc9a8a8896355714 (diff) |
ibmebus: convert of_platform_driver to platform_driver
ibmebus is the last remaining user of of_platform_driver and the
conversion to a regular platform driver is trivial.
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 'drivers/infiniband/hw/ehca/ehca_main.c')
-rw-r--r-- | drivers/infiniband/hw/ehca/ehca_main.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c index f8a62918a88d..982e3efd98d3 100644 --- a/drivers/infiniband/hw/ehca/ehca_main.c +++ b/drivers/infiniband/hw/ehca/ehca_main.c | |||
@@ -713,8 +713,7 @@ static struct attribute_group ehca_dev_attr_grp = { | |||
713 | .attrs = ehca_dev_attrs | 713 | .attrs = ehca_dev_attrs |
714 | }; | 714 | }; |
715 | 715 | ||
716 | static int ehca_probe(struct platform_device *dev, | 716 | static int ehca_probe(struct platform_device *dev) |
717 | const struct of_device_id *id) | ||
718 | { | 717 | { |
719 | struct ehca_shca *shca; | 718 | struct ehca_shca *shca; |
720 | const u64 *handle; | 719 | const u64 *handle; |
@@ -937,7 +936,7 @@ static struct of_device_id ehca_device_table[] = | |||
937 | }; | 936 | }; |
938 | MODULE_DEVICE_TABLE(of, ehca_device_table); | 937 | MODULE_DEVICE_TABLE(of, ehca_device_table); |
939 | 938 | ||
940 | static struct of_platform_driver ehca_driver = { | 939 | static struct platform_driver ehca_driver = { |
941 | .probe = ehca_probe, | 940 | .probe = ehca_probe, |
942 | .remove = ehca_remove, | 941 | .remove = ehca_remove, |
943 | .driver = { | 942 | .driver = { |