ARM: OMAP2+: Cocci spatch "ptr_ret.spatch"
Cocci spatch "ptr_ret.spatch" Signed-off-by: Thomas Meyer <thomas@m3y3r.de> Acked-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com>
Esse commit está contido em:
@@ -1734,7 +1734,7 @@ static int __init omap_gpmc_init(void)
|
||||
pdev = omap_device_build(DEVICE_NAME, -1, oh, NULL, 0);
|
||||
WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name);
|
||||
|
||||
return IS_ERR(pdev) ? PTR_ERR(pdev) : 0;
|
||||
return PTR_RET(pdev);
|
||||
}
|
||||
omap_postcore_initcall(omap_gpmc_init);
|
||||
|
||||
|
Referência em uma nova issue
Block a user