Re: [PATCH] sbus: Use of_get_child_by_name helper

2018-10-07 Thread David Miller
From: Rob Herring Date: Wed, 29 Aug 2018 15:03:37 -0500 > 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" > Cc: sparcli...@vger.kernel.org > Signed-off-by:

Re: [PATCH] sbus: Use of_get_child_by_name helper

2018-10-07 Thread David Miller
From: Rob Herring Date: Wed, 29 Aug 2018 15:03:37 -0500 > 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" > Cc: sparcli...@vger.kernel.org > Signed-off-by:

[PATCH] sbus: Use of_get_child_by_name helper

2018-08-29 Thread Rob Herring
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" Cc: sparcli...@vger.kernel.org Signed-off-by: Rob Herring --- drivers/sbus/char/openprom.c | 11 +-- 1 file

[PATCH] sbus: Use of_get_child_by_name helper

2018-08-29 Thread Rob Herring
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" Cc: sparcli...@vger.kernel.org Signed-off-by: Rob Herring --- drivers/sbus/char/openprom.c | 11 +-- 1 file