From: Markus Elfring Date: Tue, 3 Feb 2015 10:54:28 +0000 (+0100) Subject: pwm: Remove unnecessary check before of_node_put() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~47^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d6cc0738540f97edb021d3b76a4367519f1e5f1;p=pandora-kernel.git pwm: Remove unnecessary check before of_node_put() 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: Thierry Reding --- Reading git-diff-tree failed