diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-10-02 05:23:35 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-10-09 01:54:31 -0400 |
commit | c22f0ace1926da399d9a16dfaf09174c1b03594c (patch) | |
tree | 9c82626f939917cba7ab3626a22fe61d52940ec9 /fs/ext4/indirect.c | |
parent | 1bb72532ac260a2d3982b40bdd4c936d779d0d16 (diff) |
drm: merge device setup into drm_dev_register()
All bus drivers do device setup themselves. This requires us to adjust all
of them if we introduce new core features. Thus, merge all these into a
uniform drm_dev_register() helper.
Note that this removes the drm_lastclose() error path for AGP as it is
horribly broken. Moreover, no bus driver called this in any other error
path either. Instead, we use the recently introduced AGP cleanup helpers.
We also keep a DRIVER_MODESET condition around pci_set_drvdata() to keep
semantics.
[airlied: keep passing flags through so drivers don't oops on load]
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'fs/ext4/indirect.c')
0 files changed, 0 insertions, 0 deletions