Skip to content

Commit 56a2410

Browse files
jannaumarcan
authored andcommitted
fixup! drm: apple: iomfb: Use drm_kms_helper_connector_hotplug_event
Signed-off-by: Janne Grunau <[email protected]>
1 parent b176e77 commit 56a2410

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/gpu/drm/apple/iomfb.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,9 @@ void dcp_ack(struct apple_dcp *dcp, enum dcp_context_id context)
228228
void dcp_hotplug(struct work_struct *work)
229229
{
230230
struct apple_connector *connector;
231-
struct drm_device *dev;
232231
struct apple_dcp *dcp;
233232

234233
connector = container_of(work, struct apple_connector, hotplug_wq);
235-
dev = connector->base.dev;
236234

237235
dcp = platform_get_drvdata(connector->dcp);
238236
dev_info(dcp->dev, "%s() connected:%d valid_mode:%d\n", __func__,

0 commit comments

Comments
 (0)