aboutsummaryrefslogtreecommitdiffstats
path: root/c03.patch
diff options
Diffstat (limited to 'c03.patch')
-rw-r--r--c03.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/c03.patch b/c03.patch
deleted file mode 100644
index b228b62ec56e6d..00000000000000
--- a/c03.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From foo@baz Tue Jun 6 14:47:15 CEST 2017
-Date: Tue, 06 Jun 2017 14:47:15 +0200
-To: Greg KH <gregkh@linuxfoundation.org>
-From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-Subject: uwb: use class_groups instead of class_attrs
-
-The class_attrs pointer is long depreciated, and is about to be finally
-removed, so move to use the class_groups pointer instead.
-
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/uwb/driver.c | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
---- a/drivers/uwb/driver.c
-+++ b/drivers/uwb/driver.c
-@@ -94,17 +94,18 @@ ssize_t beacon_timeout_ms_store(struct c
- beacon_timeout_ms = bt;
- return size;
- }
-+static CLASS_ATTR_RW(beacon_timeout_ms);
-
--static struct class_attribute uwb_class_attrs[] = {
-- __ATTR(beacon_timeout_ms, S_IWUSR | S_IRUGO,
-- beacon_timeout_ms_show, beacon_timeout_ms_store),
-- __ATTR_NULL,
-+static struct attribute *uwb_class_attrs[] = {
-+ &class_attr_beacon_timeout_ms.attr,
-+ NULL,
- };
-+ATTRIBUTE_GROUPS(uwb_class);
-
- /** Device model classes */
- struct class uwb_rc_class = {
- .name = "uwb_rc",
-- .class_attrs = uwb_class_attrs,
-+ .class_groups = uwb_class_groups,
- };
-
-