]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: tfp410: fix dangling sysfs connector node
authorGuido Martínez <guido@vanguardiasur.com.ar>
Tue, 17 Jun 2014 14:17:06 +0000 (11:17 -0300)
committerDave Airlie <airlied@redhat.com>
Tue, 8 Jul 2014 01:25:08 +0000 (11:25 +1000)
commit20fa0b266d903a038d60cfa89ec9bad89f6d7803
treed4732089128acbffc70d5db9dd389f6b30d48fc0
parent7858d7f3bdbddd5a00fc9dd58b662a8ee9061294
drm/tilcdc: tfp410: fix dangling sysfs connector node

Add a drm_sysfs_connector_remove call when we destroy the panel to make
sure the connector node in sysfs gets deleted.

This is required for proper unload and re-load of this driver, otherwise
we will get a warning about a duplicate filename in sysfs.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Tested-by: Darren Etheridge <detheridge@ti.com>
Cc: <stable@vger.kernel.org> #v3.9+
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/tilcdc/tilcdc_tfp410.c