diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 02:55:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-16 21:36:02 -0400 |
commit | 2df4390130a85c2dd85ba3eb96f0c25ae7c5bca3 (patch) | |
tree | 6522ac5a278ee164376883740439ce46c933302a /drivers/pnp/driver.c | |
parent | 69df75334bf6d68a0a74397c2cc32172f0d7d620 (diff) |
PNP: 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 PNP bus code to use the
correct field.
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pnp/driver.c')
-rw-r--r-- | drivers/pnp/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/driver.c b/drivers/pnp/driver.c index a39ee38a9414..6936e0acedcd 100644 --- a/drivers/pnp/driver.c +++ b/drivers/pnp/driver.c | |||
@@ -246,7 +246,7 @@ struct bus_type pnp_bus_type = { | |||
246 | .remove = pnp_device_remove, | 246 | .remove = pnp_device_remove, |
247 | .shutdown = pnp_device_shutdown, | 247 | .shutdown = pnp_device_shutdown, |
248 | .pm = &pnp_bus_dev_pm_ops, | 248 | .pm = &pnp_bus_dev_pm_ops, |
249 | .dev_attrs = pnp_interface_attrs, | 249 | .dev_groups = pnp_dev_groups, |
250 | }; | 250 | }; |
251 | 251 | ||
252 | int pnp_register_driver(struct pnp_driver *drv) | 252 | int pnp_register_driver(struct pnp_driver *drv) |