projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69cc1f9
)
staging: vt6656: remove bool from vnt_radio_power_on ret
author
Malcolm Priestley
<tvboxspy@gmail.com>
Fri, 20 Dec 2019 21:15:33 +0000
(21:15 +0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 3 Jan 2020 10:46:58 +0000
(11:46 +0100)
The driver uses logical only error checking a bool true would flag error.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Link:
https://lore.kernel.org/r/cc52b67c-9ef8-3e57-815a-44d10701919e@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/card.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/card.c
b/drivers/staging/vt6656/card.c
index
56cd77f
..
7958fc1
100644
(file)
--- a/
drivers/staging/vt6656/card.c
+++ b/
drivers/staging/vt6656/card.c
@@
-719,7
+719,7
@@
end:
*/
int vnt_radio_power_on(struct vnt_private *priv)
{
- int ret =
true
;
+ int ret =
0
;
vnt_exit_deep_sleep(priv);