summaryrefslogtreecommitdiffstats
path: root/drivers/video/wm8505fb.c
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@gmail.com>2010-12-20 16:03:14 +0300
committerPaul Mundt <lethal@linux-sh.org>2010-12-21 01:05:43 +0900
commita7f53284e97af9670a68993c31f61a4e62a19ea5 (patch)
tree9469611835d11654197d671537535b4425a6cfea /drivers/video/wm8505fb.c
parent521bc83b0fcda6f323f1de0e7bf137401a8145a2 (diff)
fbdev: Minor cleanup in WM8505-related code
This replaces the last remaining driver name reference with the macro for uniformity in wm8505fb. In addition, the error return path in wmt_ge_rops.c is made more uniform by getting rid of goto's in remaining places. Signed-off-by: Alexey Charkov <alchark@gmail.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/wm8505fb.c')
-rw-r--r--drivers/video/wm8505fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c
index e37251b792c..9ca9dbb62f9 100644
--- a/drivers/video/wm8505fb.c
+++ b/drivers/video/wm8505fb.c
@@ -291,7 +291,7 @@ static int __devinit wm8505fb_probe(struct platform_device *pdev)
goto failed_fbi;
}
- res = request_mem_region(res->start, resource_size(res), "wm8505fb");
+ res = request_mem_region(res->start, resource_size(res), DRIVER_NAME);
if (res == NULL) {
dev_err(&pdev->dev, "failed to request I/O memory\n");
ret = -EBUSY;