net: davinci_emac: simplify the OF parser code
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Tue, 25 Jun 2013 15:54:52 +0000 (21:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Jun 2013 23:52:29 +0000 (16:52 -0700)
commit151328c828795574bed6ce8b37c3d0bd586e162f
tree9b304c8d03c64a8846c1fa32a5bf27abae11f04c
parent6892b41d9701283085b655c6086fb57a5d63fa47
net: davinci_emac: simplify the OF parser code

This patch cleans up the OF parser code, removes unnecessary checks
on of_property_read_*() and guards davinci_emac_of_match table with
CONFIG_OF.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_emac.c