diff options
| author | 2015-12-25 16:01:43 -0800 | |
|---|---|---|
| committer | 2015-12-29 20:36:03 +0100 | |
| commit | 756d1e9247dff6d416b0c9e073247f5e808bb5fa (patch) | |
| tree | 2fd46296766a0249bfcd4722ec9e5d14c34cce43 /lib/mpi | |
| parent | watchdog: Separate and maintain variables based on variable lifetime (diff) | |
| download | wireguard-linux-756d1e9247dff6d416b0c9e073247f5e808bb5fa.tar.xz wireguard-linux-756d1e9247dff6d416b0c9e073247f5e808bb5fa.zip | |
watchdog: da9052_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 'lib/mpi')
0 files changed, 0 insertions, 0 deletions
