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>hifive-unleashed-5.1
parent
8100091d02
commit
bd42cd022e
|
@ -1116,7 +1116,7 @@ static bool ssb_dma_translation_special_bit(struct ssb_device *dev)
|
||||||
chip_id == 43231 || chip_id == 43222);
|
chip_id == 43231 || chip_id == 43222);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 ssb_dma_translation(struct ssb_device *dev)
|
u32 ssb_dma_translation(struct ssb_device *dev)
|
||||||
|
|
Loading…
Reference in New Issue