projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e512a9e
)
Input: ims-pcu - drop redundant driver-data assignment
author
Johan Hovold
<johan@kernel.org>
Sat, 20 Mar 2021 03:35:58 +0000
(20:35 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Sat, 20 Mar 2021 03:37:42 +0000
(20:37 -0700)
The driver data for the data interface has already been set by
usb_driver_claim_interface() so drop the subsequent redundant
assignment.
Signed-off-by: Johan Hovold <johan@kernel.org>
Link:
https://lore.kernel.org/r/20210318155525.22496-1-johan@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/ims-pcu.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/ims-pcu.c
b/drivers/input/misc/ims-pcu.c
index
08b9b5c
..
81de8c4
100644
(file)
--- a/
drivers/input/misc/ims-pcu.c
+++ b/
drivers/input/misc/ims-pcu.c
@@
-2018,7
+2018,6
@@
static int ims_pcu_probe(struct usb_interface *intf,
}
usb_set_intfdata(pcu->ctrl_intf, pcu);
- usb_set_intfdata(pcu->data_intf, pcu);
error = ims_pcu_buffers_alloc(pcu);
if (error)