drm/nouveau: Use connector kdev as aux device parent
authorLeo Li <sunpeng.li@amd.com>
Tue, 23 Jul 2019 23:28:02 +0000 (19:28 -0400)
committerHarry Wentland <harry.wentland@amd.com>
Thu, 25 Jul 2019 21:51:26 +0000 (17:51 -0400)
commit7713c0f10dd52ff91a136566b91e7bcaabd4bda9
tree042e07f7ca6d804cae29415baf93c1358512f10f
parent562836a269e363cdb74b551e3be7021c9d228378
drm/nouveau: Use connector kdev as aux device parent

Set the connector's kernel device as the parent for the aux kernel
device. This allows udev rules to access connector attributes when
creating symlinks to aux devices.

Cc: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Leo Li <sunpeng.li@amd.com>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190723232808.28128-4-sunpeng.li@amd.com
drivers/gpu/drm/nouveau/nouveau_connector.c