Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1659128 > unrolled thread

[PATCH 12/16] hwtracing: intel_th: use dev_groups and not dev_attrs for bus_type

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2017-06-06 21:30 +0200
Last post2017-06-06 21:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 12/16] hwtracing: intel_th: use dev_groups and not dev_attrs for bus_type Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-06-06 21:30 +0200

#1659128 — [PATCH 12/16] hwtracing: intel_th: use dev_groups and not dev_attrs for bus_type

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-06-06 21:30 +0200
Subject[PATCH 12/16] hwtracing: intel_th: use dev_groups and not dev_attrs for bus_type
Message-ID<tPskX-4zc-33@gated-at.bofh.it>
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: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/hwtracing/intel_th/core.c | 1 -
 1 file changed, 1 deletion(-)

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)
 
 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,
-- 
2.13.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web