drm: platform: Don't initialize driver-private data
authorThierry Reding <thierry.reding@avionic-design.de>
Mon, 15 Oct 2012 18:03:42 +0000 (18:03 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 23 Oct 2012 00:15:11 +0000 (10:15 +1000)
commita16d4f86019a72b3e8cbb89abff769b25b53ab69
treea028c3d9117b930e555159c0a0701efdb4e084e1
parent08bce0ac3bdc9d8e57d3f4b8edf3e787e623eccc
drm: platform: Don't initialize driver-private data

Platform device drivers usually use the driver-private data for their
own purposes. Having it overwritten by drm_platform_init() is confusing
and error-prone.

Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_platform.c
drivers/gpu/drm/shmobile/shmob_drm_drv.c