hwmon: (aspeed-pwm-tacho) Call of_node_put() on a node not claimed
authorStefan Schaeckeler <sschaeck@cisco.com>
Fri, 2 Jun 2017 19:42:08 +0000 (12:42 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 3 Jun 2017 10:54:00 +0000 (03:54 -0700)
commit4d58e7329fdd87d37f04b319d6a5165aaff5d75c
tree85881c8d1fbe5933c6a0ab205e640eacdc72cba4
parent7ed1c5e5ddbb87aef9df7f8a8a714bcffe90f0eb
hwmon: (aspeed-pwm-tacho) Call of_node_put() on a node not claimed

Call of_node_put() on a node claimed with of_node_get() or by any other
means such as for_each_child_of_node().

Signed-off-by: Stefan Schaeckeler <sschaeck@cisco.com>
Fixes: 2d7a548a3eff ("drivers: hwmon: Support for ASPEED PWM/Fan tach")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/aspeed-pwm-tacho.c