aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/wm8505fb.c
diff options
context:
space:
mode:
authorAlexey Charkov <alchark@gmail.com>2010-12-20 08:03:14 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-12-20 11:05:43 -0500
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 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)
291 goto failed_fbi; 291 goto failed_fbi;
292 } 292 }
293 293
294 res = request_mem_region(res->start, resource_size(res), "wm8505fb"); 294 res = request_mem_region(res->start, resource_size(res), DRIVER_NAME);
295 if (res == NULL) { 295 if (res == NULL) {
296 dev_err(&pdev->dev, "failed to request I/O memory\n"); 296 dev_err(&pdev->dev, "failed to request I/O memory\n");
297 ret = -EBUSY; 297 ret = -EBUSY;