mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 07:23:14 +00:00
mtd: tests: mtd_nandecctest: Use IS_ENABLED() macro
Using the IS_ENABLED() macro can make the code shorter and simpler. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
54c738f694
commit
7e8eb8ae66
@ -19,7 +19,7 @@
|
||||
* or detected.
|
||||
*/
|
||||
|
||||
#if defined(CONFIG_MTD_NAND) || defined(CONFIG_MTD_NAND_MODULE)
|
||||
#if IS_ENABLED(CONFIG_MTD_NAND)
|
||||
|
||||
struct nand_ecc_test {
|
||||
const char *name;
|
||||
|
Loading…
Reference in New Issue
Block a user