mtd: nand: omap2: Add check for old elm binding
authorTeresa Remmet <t.remmet@phytec.de>
Tue, 5 Jul 2016 09:32:30 +0000 (11:32 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 14 Jul 2016 15:57:36 +0000 (08:57 -0700)
commit7ce9ea7e6b35a652034486133174d4e17055cef5
tree90ca4a1f075186d73c971b2090717061aa0197d5
parentbecc7ae544c61395b5eba7b9913e14aa567ca07a
mtd: nand: omap2: Add check for old elm binding

commit c9711ec5250b ("mtd: nand: omap: Clean up device tree support")
removes the check for the old elm phandle binding.
Add it again to keep backward compatibility.

Fixes: commit c9711ec5250b ("mtd: nand: omap: Clean up device tree support")
Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/omap2.c