]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sysfs: use kobj_to_dev()
authorGeliang Tang <geliangtang@163.com>
Wed, 13 Jan 2016 14:48:41 +0000 (22:48 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Jan 2016 15:43:07 +0000 (16:43 +0100)
commit2e51d647b3950407892e2422436a1267f1e34d43
treebdfc704495cb7c659407f2c795b081e37b2841d1
parentb0b7429a313e06aba5d6e75261d03a1cd80d55c6
drm/sysfs: use kobj_to_dev()

Use kobj_to_dev() instead of open-coding it.

Link: http://patchwork.freedesktop.org/patch/msgid/3fea991541fbfc4ffece2c174adeb02cb9436c90.1452696179.git.geliangtang@163.com
Signed-off-by: Geliang Tang <geliangtang@163.com>
drivers/gpu/drm/drm_sysfs.c