]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: tests: mtd_nandecctest: Use IS_ENABLED() macro
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 2 Dec 2013 02:30:27 +0000 (00:30 -0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 5 Dec 2013 02:05:29 +0000 (18:05 -0800)
commit1947664f29dbbff6b0e40cfb98605fbf5ae39f6e
treeafd19472af7872910e96cd23ff275d18116b0c0d
parent4e3f1fd0bdfe8dc1c2b6a84111221730495689a3
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>
drivers/mtd/tests/mtd_nandecctest.c