diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2018-01-18 17:54:28 -0600 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-02-27 18:14:11 +0200 |
commit | bd42cd022e44c68254cedf5e04cbcc781dcceed8 (patch) | |
tree | dda9733323786dd7a4cd52612df720671b2f5689 /drivers/ssb | |
parent | 8100091d02487ff267af0d410ceb9eefebc8ea03 (diff) | |
download | lwn-bd42cd022e44c68254cedf5e04cbcc781dcceed8.tar.gz lwn-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) |