dt/s3c64xx/spi: Use of_get_child_by_name to get a named child
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Tue, 18 Sep 2012 07:10:49 +0000 (08:10 +0100)
committerRob Herring <rob.herring@calxeda.com>
Mon, 1 Oct 2012 15:50:26 +0000 (10:50 -0500)
commit06455bbcab76e5f5225de5f38ab948d37a1c3587
tree65102813735352fc40a31fca68edca5e5fec2b29
parent9c19761a7ecdc86abb2fba0feb81e8952eccc1f1
dt/s3c64xx/spi: Use of_get_child_by_name to get a named child

As follow-up to "dt: introduce of_get_child_by_name to get child node by
name." patch, This patch removes some of the code duplication in the
driver by replacing it with of_get_child_by_name instead.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
drivers/spi/spi-s3c64xx.c