diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2018-01-19 00:54:28 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-02-27 17:14:11 +0100 |
commit | bd42cd022e44c68254cedf5e04cbcc781dcceed8 (patch) | |
tree | dda9733323786dd7a4cd52612df720671b2f5689 /drivers/ssb | |
parent | bcma: Replace mdelay with usleep_range in bcma_pmu_resources_init (diff) | |
download | linux-bd42cd022e44c68254cedf5e04cbcc781dcceed8.tar.xz linux-bd42cd022e44c68254cedf5e04cbcc781dcceed8.zip |
ssb: return boolean instead of integer in ssb_dma_translation_special_bit
Return statements in functions returning bool should use
true/false instead of 1/0.
This issue was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index 65420a9f0e82..fdb89b6bfb40 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c @@ -1116,7 +1116,7 @@ static bool ssb_dma_translation_special_bit(struct ssb_device *dev) chip_id == 43231 || chip_id == 43222); } - return 0; + return false; } u32 ssb_dma_translation(struct ssb_device *dev) |