drm: update DRM sysfs support
authorJesse Barnes <jesse.barnes@intel.com>
Thu, 22 Nov 2007 04:02:38 +0000 (14:02 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Feb 2008 05:09:38 +0000 (15:09 +1000)
commite8b962b6df50b74afed14af7f7a7d569b3ba70ac
tree4b40becefb49018a4b02a217673e44637040f4f6
parent8b40958032fd236194de57d29be9cf2c1f2643ee
drm: update DRM sysfs support

Make DRM devices use real Linux devices instead of class devices, which are
going away.  While we're at it, clean up some of the interfaces to take
struct drm_device * or struct device * and use the global drm_class where
needed instead of passing it around.

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drmP.h
drivers/char/drm/drm_drv.c
drivers/char/drm/drm_stub.c
drivers/char/drm/drm_sysfs.c