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:
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:
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
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
4 matches
Mail list logo