Consolidate bool type
'bool' is defined in random places. This patch consolidates them into a single header file include/linux/types.h, using stdbool.h introduced in C99. All other #define, typedef and enum are removed. They are all consistent with true = 1, false = 0. Replace FALSE, False with false. Replace TRUE, True with true. Skip *.py, *.php, lib/* files. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
@@ -179,9 +179,9 @@ int fpga_post_config_fn(int cookie)
|
||||
{
|
||||
debug("%s:%d: FPGA post-configuration\n", __func__, __LINE__);
|
||||
|
||||
fpga_reset(TRUE);
|
||||
fpga_reset(true);
|
||||
udelay(100);
|
||||
fpga_reset(FALSE);
|
||||
fpga_reset(false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user