aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mfd/glamo/glamo-drm-drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/glamo/glamo-drm-drv.c b/drivers/mfd/glamo/glamo-drm-drv.c
index f30097eb34c..1907a47b510 100644
--- a/drivers/mfd/glamo/glamo-drm-drv.c
+++ b/drivers/mfd/glamo/glamo-drm-drv.c
@@ -347,7 +347,7 @@ out_release_regs:
release_mem_region(gdrm->reg->start, resource_size(gdrm->reg));
out_free:
kfree(gdrm);
- pdev->dev.driver_data = NULL;
+ dev_set_drvdata(&pdev->dev, NULL);
return rc;
}