video: use kobj_to_dev()
authorWang Qing <wangqing@vivo.com>
Tue, 22 Sep 2020 12:14:24 +0000 (20:14 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Fri, 16 Oct 2020 20:59:00 +0000 (22:59 +0200)
commit748855582101b6c3a2ae3debb2ce2d4555c6c677
tree0406a9888f2974411ce055fa9aaf15b494862b9f
parent0ad086e07dd553b4b56eb68f0d228d46e7543eca
video: use kobj_to_dev()

Use kobj_to_dev() instead of container_of()

Signed-off-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1600776867-24226-1-git-send-email-wangqing@vivo.com
drivers/video/fbdev/aty/radeon_base.c