summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-tegra.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2015-02-03 11:54:28 +0100
committerThierry Reding <thierry.reding@gmail.com>2015-02-03 12:56:54 +0100
commit8d6cc0738540f97edb021d3b76a4367519f1e5f1 (patch)
tree86c71ebc80316893579cba726c9cb44c0355bca7 /drivers/pwm/pwm-tegra.c
parent9c959bfe00396bc2e6143dc9a8b27feaffb78c74 (diff)
downloadlinux-8d6cc0738540f97edb021d3b76a4367519f1e5f1.tar.bz2
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 <elfring@users.sourceforge.net> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-tegra.c')
0 files changed, 0 insertions, 0 deletions