From: Greg Kroah-Hartman Date: Tue, 6 Jun 2017 12:17:32 +0000 (+0200) Subject: hwtracing: intel_th: use dev_groups and not dev_attrs for bus_type X-Git-Tag: v4.14-rc1~621^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=63b754a6bc52a551122fd96cb7110b16a89d607b;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/hwtracing/intel_th/core.c b/drivers/hwtracing/intel_th/core.c index 7563ece..8da567a 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) static struct bus_type intel_th_bus = { .name = "intel_th", - .dev_attrs = NULL, .match = intel_th_match, .probe = intel_th_probe, .remove = intel_th_remove,