projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d0ed1
)
Staging: nvec: removes an unnecessary cast on a void pointer
author
Ben Marsh
<bmarsh94@gmail.com>
Thu, 10 Mar 2016 20:24:59 +0000
(21:24 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:09:09 +0000
(22:09 -0800)
Patch to nvec_ps2.c to remove an unnecessary cast on a void pointer.
Signed-off-by: Ben Marsh <bmarsh94@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/nvec/nvec_ps2.c
patch
|
blob
|
history
diff --git
a/drivers/staging/nvec/nvec_ps2.c
b/drivers/staging/nvec/nvec_ps2.c
index
0922dd3
..
a324322
100644
(file)
--- a/
drivers/staging/nvec/nvec_ps2.c
+++ b/
drivers/staging/nvec/nvec_ps2.c
@@
-78,7
+78,7
@@
static int nvec_ps2_notifier(struct notifier_block *nb,
unsigned long event_type, void *data)
{
int i;
- unsigned char *msg =
(unsigned char *)
data;
+ unsigned char *msg = data;
switch (event_type) {
case NVEC_PS2_EVT: