OSDN Git Service

staging: rts5208: Convert variable from int to bool and propagate the change to funct...
authorQuentin Lambert <lambert.quentin@gmail.com>
Wed, 4 Mar 2015 10:31:53 +0000 (11:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 01:25:01 +0000 (17:25 -0800)
commit11201769d17ffe4b826035315aa03715938ae4b2
tree1ec52280290cc3c0b8ff648dd8910c66be90a9db
parentde904bf0e4610a7651f3eb0c8b7b63e2ae32b805
staging: rts5208: Convert variable from int to bool and propagate the change to function parameters

This patch convert local variables declared as int into booleans.
It also propagates the conversion when these variables were used
as function parameters.

Coccinelle was used to generate this patch.

Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/ms.c
drivers/staging/rts5208/ms.h
drivers/staging/rts5208/rtsx_scsi.c
drivers/staging/rts5208/sd.c
drivers/staging/rts5208/sd.h