aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-12-25 16:01:44 -0800
committerWim Van Sebroeck <wim@iguana.be>2015-12-29 20:36:04 +0100
commit43f676ace2e0591718ff493d290bc49b35ec2ffc (patch)
tree3104572b4239b6dc9f1b8e3228a4e9fa43c9f968 /drivers/hwmon
parentwatchdog: da9052_wdt: Drop reference counting (diff)
downloadlinux-dev-43f676ace2e0591718ff493d290bc49b35ec2ffc.tar.xz
linux-dev-43f676ace2e0591718ff493d290bc49b35ec2ffc.zip
watchdog: da9055_wdt: Drop reference counting
Reference counting is now implemented in the watchdog core and no longer required in watchdog drivers. Since it was implememented a no-op, and since the local memory is allocated with devm_kzalloc(), the reference counting code in the driver really did not really work anyway, and this patch effectively fixes a bug which could cause a crash on unloading if the watchdog device was still open. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions