Skip to content
Commit 0360dffe authored by Tushar Behera's avatar Tushar Behera Committed by Wim Van Sebroeck
Browse files

watchdog: da9052: Fix invalid free of devm_ allocated data



It is not required to free devm_ allocated data. Since kref_put
needs a valid release function, da9052_wdt_release_resources()
is not deleted.

Fixes following warning.
drivers/watchdog/da9052_wdt.c:59:1-6: WARNING: invalid free of
devm_ allocated data

Signed-off-by: default avatarTushar Behera <tushar.behera@linaro.org>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 2bc3f62f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment