diff options
author | Quentin Lambert <lambert.quentin@gmail.com> | 2015-03-04 10:31:53 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-07 01:25:01 (GMT) |
commit | 11201769d17ffe4b826035315aa03715938ae4b2 (patch) | |
tree | 1ec52280290cc3c0b8ff648dd8910c66be90a9db /drivers/staging/rts5208/ms.h | |
parent | de904bf0e4610a7651f3eb0c8b7b63e2ae32b805 (diff) | |
download | linux-11201769d17ffe4b826035315aa03715938ae4b2.tar.xz |
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>
Diffstat (limited to 'drivers/staging/rts5208/ms.h')
-rw-r--r-- | drivers/staging/rts5208/ms.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rts5208/ms.h b/drivers/staging/rts5208/ms.h index 26c5b03..d919170 100644 --- a/drivers/staging/rts5208/ms.h +++ b/drivers/staging/rts5208/ms.h @@ -205,7 +205,7 @@ int reset_ms_card(struct rtsx_chip *chip); int ms_rw(struct scsi_cmnd *srb, struct rtsx_chip *chip, u32 start_sector, u16 sector_cnt); int mspro_format(struct scsi_cmnd *srb, struct rtsx_chip *chip, - int short_data_len, int quick_format); + int short_data_len, bool quick_format); void ms_free_l2p_tbl(struct rtsx_chip *chip); void ms_cleanup_work(struct rtsx_chip *chip); int ms_power_off_card3v3(struct rtsx_chip *chip); |