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)
commit23819f2eaab87080b0190ed94a0728fc8ea84711
treebacd4e25508bc84826622de230ad799e7dfeb9a2
parentf9bdbd6c46c8ce0bb95f5b708a4a4a4b6b9a5917
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