drm: "kobject_init/kobject_add" -> "kobject_init_and_add".

Replace sequential calls to kobject_init() and kobject_add() with the
combo wrapper kobject_init_and_add(), which provides the same
semantics.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
Robert P. J. Day 2010-03-13 10:36:32 +00:00 • committed by Dave Airlie
commit b642ed06f2
2 changed files with 10 additions and 12 deletions