]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sh: superhyway: use dev_groups and not dev_attrs for bus_type
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Jun 2017 12:17:02 +0000 (14:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:00:46 +0000 (11:00 +0200)
commit9f4ac349bd60ef463450a00aa5e19c67f5ad12e2
treebddeb4b9812ed73292a9fea1de93dff28cf107df
parent39afc7af152519cc3f41dfb4460701e7c00c3391
sh: superhyway: 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: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: <linux-sh@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/sh/superhyway/superhyway-sysfs.c
drivers/sh/superhyway/superhyway.c
include/linux/superhyway.h