]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a1c562347e25a50a9785eb73711accda96076f3
tree65102813735352fc40a31fca68edca5e5fec2b29
parentbe227ee44455efe557e860454e7b56208347111c
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