commit | df58f37b5d8f883fb18ba85e8d9a624154879832 | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Wed Aug 29 15:03:37 2018 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 07 22:41:08 2018 -0700 |
tree | e451435e9eee69780594dcb693a733298ff1bdfd | |
parent | 0b9871a3a8cc7234c285b5d9bf66cc6712cfee7c [diff] |
sbus: Use of_get_child_by_name helper Use the of_get_child_by_name() helper instead of open coding searching for the '/options' node. This removes directly accessing the name pointer as well. Cc: "David S. Miller" <davem@davemloft.net> Cc: sparclinux@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>