Skip to content

Commit 07f59f1

Browse files
Malcolm Priestleygregkh
authored andcommitted
staging: vt6656: remove bool from vnt_radio_power_on ret
The driver uses logical only error checking a bool true would flag error. Signed-off-by: Malcolm Priestley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 69cc1f9 commit 07f59f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/staging/vt6656/card.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ int vnt_radio_power_off(struct vnt_private *priv)
719719
*/
720720
int vnt_radio_power_on(struct vnt_private *priv)
721721
{
722-
int ret = true;
722+
int ret = 0;
723723

724724
vnt_exit_deep_sleep(priv);
725725

0 commit comments

Comments
 (0)