Re: [PATCH] Input: i8042 - Rework DT node name comparisons

2019-02-17 Thread Dmitry Torokhov
On Wed, Feb 13, 2019 at 10:16:31AM -0600, Rob Herring wrote: > Convert string compares of DT node names to use of_node_name_eq helper > instead. For the root node on SUN DT, we need to retrieve the 'name' > property as it is the rare case where the 'name' property and node name > differ. With both

[PATCH] Input: i8042 - Rework DT node name comparisons

2019-02-13 Thread Rob Herring
Convert string compares of DT node names to use of_node_name_eq helper instead. For the root node on SUN DT, we need to retrieve the 'name' property as it is the rare case where the 'name' property and node name differ. With both changes, it removes direct access to the node name pointer. While at

[PATCH] Input: i8042 - Rework DT node name comparisons

2018-12-05 Thread Rob Herring
Signed-off-by: Rob Herring --- drivers/input/serio/i8042-sparcio.h | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/input/serio/i8042-sparcio.h b/drivers/input/serio/i8042-sparcio.h index 796289846204..fce76812843b 100644 --- a/drivers/input/ser