summaryrefslogtreecommitdiffstats
path: root/drivers/video/wm8505fb.c
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@gmail.com>2010-12-20 14:03:14 +0100
committerPaul Mundt <lethal@linux-sh.org>2010-12-20 17:05:43 +0100
commita7f53284e97af9670a68993c31f61a4e62a19ea5 (patch)
tree9469611835d11654197d671537535b4425a6cfea /drivers/video/wm8505fb.c
parents1d13xxxfb: drop unused code (diff)
downloadlinux-a7f53284e97af9670a68993c31f61a4e62a19ea5.tar.xz
linux-a7f53284e97af9670a68993c31f61a4e62a19ea5.zip
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 e37251b792c9..9ca9dbb62f96 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;