Tag: ba6a09d7c01fd88c26a0a4d83788026632ee3d37

tpm/tpm_i2c_atmel: fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> drivers/char/tpm/tpm_i2c_atmel.c:178:8-9: WARNING: return of 0/1 in function ‘i2c_atmel_req_canceled’ with return type bool Return statements in functions returning bool should use true/false instead of 1/0. Generated by: coccinelle/misc/boolreturn.cocci CC: Jason Gunthorpe CC: Peter Huewe Acked-by: Jason Gunthorpe Signed-off-by: Fengguang Wu Signed-off-by: Peter Huewe — drivers/char/tpm/tpm_i2c_atmel.c | 2 +- 1 file changed, 1 …

Continue reading