aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-12-22 16:11:27 +0100
committerThomas White <taw@bitwiz.org.uk>2010-02-09 23:37:32 +0100
commit09e46ba1a6e866fe9559ff7100b23ed16acaca4a (patch)
treee72f5496e46d57559260833a73b4884bd2425b1e
parent4fb4da82e89091252461d979cff8e1288719a71f (diff)
glamo-drm: use dev_set_drvdata instead of setting driver_data directly
* driver_data is private since 2.6.32 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b4028437876866aba4747a655ede00f892089e14 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-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;
}