]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: nand: mpc5121: use 'of_machine_is_compatible' to simplify code
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sun, 10 Jan 2016 06:46:39 +0000 (07:46 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Sat, 23 Jan 2016 00:35:25 +0000 (16:35 -0800)
commitbe5e116b1f7a5167ae013e880b3c8b954b3ac886
treebacd4e25508bc84826622de230ad799e7dfeb9a2
parent34f3ee9ba244e9ec6fd52942a16873984bf1f9fc
mtd: nand: mpc5121: use 'of_machine_is_compatible' to simplify code

The current code is the same as 'of_machine_is_compatible'.
So use it in order to remove a few lines of code and to be more
consistent with other parts of the kernel.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/mpc5121_nfc.c