diff options
Diffstat (limited to 'arch/arm/mach-omap2/fb.c')
| -rw-r--r-- | arch/arm/mach-omap2/fb.c | 5 | 
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/fb.c b/arch/arm/mach-omap2/fb.c index 190ae493c6e..2ca33cc0c48 100644 --- a/arch/arm/mach-omap2/fb.c +++ b/arch/arm/mach-omap2/fb.c @@ -83,10 +83,7 @@ static int __init omap_init_vrfb(void)  	pdev = platform_device_register_resndata(NULL, "omapvrfb", -1,  			res, num_res, NULL, 0); -	if (IS_ERR(pdev)) -		return PTR_ERR(pdev); -	else -		return 0; +	return PTR_RET(pdev);  }  omap_arch_initcall(omap_init_vrfb);  |