Skip to content
Commit 893c3d82 authored by Wang Qing's avatar Wang Qing Committed by Wim Van Sebroeck
Browse files

watchdog: Use kobj_to_dev() API



Use kobj_to_dev() API instead of container_of().

Signed-off-by: default avatarWang Qing <wangqing@vivo.com>
Reviewed-by: default avatarGuenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/1591945384-14587-1-git-send-email-wangqing@vivo.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarWim Van Sebroeck <wim@linux-watchdog.org>
parent fd998972
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