diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-06 08:17:32 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 05:00:46 -0400 |
commit | 63b754a6bc52a551122fd96cb7110b16a89d607b (patch) | |
tree | 7d22655a1b980300707d2079d8f7fd71e0d38955 /drivers/hwtracing/intel_th | |
parent | 823a44ac23d107b8450f413e32d83c9ed82410ff (diff) |
hwtracing: intel_th: use dev_groups and not dev_attrs for bus_type
The dev_attrs field has long been "depreciated" and is finally being
removed, and as this driver isn't even using it, just drop the NULL
setting, it is pointless.
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/intel_th')
-rw-r--r-- | drivers/hwtracing/intel_th/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwtracing/intel_th/core.c b/drivers/hwtracing/intel_th/core.c index 7563eceeaaea..8da567abc0ce 100644 --- a/drivers/hwtracing/intel_th/core.c +++ b/drivers/hwtracing/intel_th/core.c | |||
@@ -139,7 +139,6 @@ static int intel_th_remove(struct device *dev) | |||
139 | 139 | ||
140 | static struct bus_type intel_th_bus = { | 140 | static struct bus_type intel_th_bus = { |
141 | .name = "intel_th", | 141 | .name = "intel_th", |
142 | .dev_attrs = NULL, | ||
143 | .match = intel_th_match, | 142 | .match = intel_th_match, |
144 | .probe = intel_th_probe, | 143 | .probe = intel_th_probe, |
145 | .remove = intel_th_remove, | 144 | .remove = intel_th_remove, |