summaryrefslogtreecommitdiffstats
path: root/drivers/rapidio/rio-driver.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2013-10-07 08:55:47 +0200
committerGreg Kroah-Hartman2013-10-17 03:36:03 +0200
commit6d39c80b19073e2889dabab939fe1a09584138ed (patch)
treeb44a256173c94ccb82fb9b5e3650e9067a535b18 /drivers/rapidio/rio-driver.c
parentpcmcia: convert bus code to use dev_groups (diff)
downloadkernel-qcow2-linux-6d39c80b19073e2889dabab939fe1a09584138ed.tar.gz
kernel-qcow2-linux-6d39c80b19073e2889dabab939fe1a09584138ed.tar.xz
kernel-qcow2-linux-6d39c80b19073e2889dabab939fe1a09584138ed.zip
rapidio: convert bus code to use dev_groups
The dev_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the rapidio bus code to use the correct field. Cc: Matt Porter <mporter@kernel.crashing.org> Cc: Alexandre Bounine <alexandre.bounine@idt.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rapidio/rio-driver.c')
-rw-r--r--drivers/rapidio/rio-driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rapidio/rio-driver.c b/drivers/rapidio/rio-driver.c
index 2be2d24dbecb..c9ae692d3451 100644
--- a/drivers/rapidio/rio-driver.c
+++ b/drivers/rapidio/rio-driver.c
@@ -223,7 +223,7 @@ struct device rio_bus = {
struct bus_type rio_bus_type = {
.name = "rapidio",
.match = rio_match_bus,
- .dev_attrs = rio_dev_attrs,
+ .dev_groups = rio_dev_groups,
.bus_groups = rio_bus_groups,
.probe = rio_device_probe,
.remove = rio_device_remove,