diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-14 13:59:04 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-14 13:59:04 +0200 |
| commit | 5a7f345ba5e849229317f73497a17637c9a08e4a (patch) | |
| tree | 4d7661b70e4da95d2acfddce1ba76b7b3190cd3f /c03.patch | |
| parent | 1670862cd60c9110a93d8fdd186d4bfe51b185d1 (diff) | |
| download | patches-5a7f345ba5e849229317f73497a17637c9a08e4a.tar.gz | |
get a bunch of stuff finally upstream.
Diffstat (limited to 'c03.patch')
| -rw-r--r-- | c03.patch | 40 |
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, - }; - - |
