Tag: 887ec0bfbd146c08e34ccb65a8f4251dc110e52f

Jul 25 2016

Input: synaptics-rmi4 – do not check for NULL when calling of_node_put()

Author: Markus Elfring <elfring@users.sourceforge.net> The of_node_put() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Dmitry Torokhov — drivers/input/rmi4/rmi_bus.c | 5 +—- 1 file changed, 1 insertion(+), 4 deletions(-)   diff …

Continue reading »