]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: Fix device tree linkage of i2c buses
authorJean Delvare <jdelvare@suse.de>
Sat, 28 Jan 2012 10:10:38 +0000 (11:10 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 30 Jan 2012 09:32:11 +0000 (09:32 +0000)
commitcec6ba72b379bc4ffdab0ad42a00c0f200cd0d2b
tree4e986ab45ce4cc7a6b1ad763a70d761f2330b1b0
parentad1f1264227445cc98cd7bd2287788fed476696f
drm/radeon/kms: Fix device tree linkage of i2c buses

Properly set the parent device of i2c buses before registering them so
that they will show at the right place in the device tree (rather than
in /sys/devices directly.)

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Dave Airlie <airlied@gmail.com>
Reviewed-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_i2c.c