]> asedeno.scripts.mit.edu Git - linux.git/commit
macintosh: use dev_groups and not dev_attrs for bus_type
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Jun 2017 12:17:12 +0000 (14:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:00:46 +0000 (11:00 +0200)
commit60bb70aa761ca4090a718926f8299364a0c61ae0
treedf81e3133fb8c97860ac9ebf64438198d16b92d6
parent9f4ac349bd60ef463450a00aa5e19c67f5ad12e2
macintosh: use dev_groups and not dev_attrs for bus_type

The dev_attrs field has long been "depreciated" and is finally being
removed, so move the driver to use the "correct" dev_groups field
instead for struct bus_type.

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: <linuxppc-dev@lists.ozlabs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/macintosh/macio_asic.c
drivers/macintosh/macio_sysfs.c