summaryrefslogtreecommitdiffstats
path: root/init/calibrate.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-11-21 20:50:50 +1000
committerDave Airlie <airlied@gmail.com>2013-11-21 21:10:00 +1000
commit760c960bd6880cf22a57c0af9ff60c96250aad39 (patch)
treefc301356c571ad9175c09b6c5bf35c31bfa58dac /init/calibrate.c
parentc3bddbda36a74225ad3d04aaa9600a25aff6b98b (diff)
downloadlinux-760c960bd6880cf22a57c0af9ff60c96250aad39.tar.gz
linux-760c960bd6880cf22a57c0af9ff60c96250aad39.tar.bz2
linux-760c960bd6880cf22a57c0af9ff60c96250aad39.zip
drm/sysfs: fix hotplug regression since lifetime changes
airlied: The lifetime changes introduced in 5bdebb183c9702a8c57a01dff09337be3de337a6 tried to use device_create, however that led to the regression where dev->type wasn't getting set correctly. First attempt at fixing it would have led to a race, so this undoes the device_createa work and does it all manually making sure the dev->type is setup before we register the device. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions