ARM: OMAP2+: Remove calls to deprecacted marco,PTR_RET in the files,fb.c and pmu.c
authorNicholas Krause <xerofoify@gmail.com>
Sun, 10 May 2015 04:57:34 +0000 (00:57 -0400)
committerTony Lindgren <tony@atomide.com>
Wed, 20 May 2015 17:43:37 +0000 (10:43 -0700)
commit87a2028f2329b8f091046316ee1910b97d3854b1
tree666b042a47604df6dd91255a67e15e8cf3bdbb95
parent8297955f3bd44b7b5a69549ed95e851b473bb675
ARM: OMAP2+: Remove calls to deprecacted marco,PTR_RET in the files,fb.c and pmu.c

This removes two calls to the deprecated marco,PTR_RET in
the files,fb.c and pmu.c for the functions,omap_init_vrfb
and omap_init_pmu respectfully. Furthermore these are now
replaced by calling the correctly non deprecacted function,
PTR_ERR_OR_ZERO in both functions.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/fb.c
arch/arm/mach-omap2/pmu.c