[PATCH v2 5/9] ARM: at91: add soc detection infrastructure
Alexandre Belloni
alexandre.belloni at free-electrons.com
Thu Mar 5 07:52:34 PST 2015
On 05/03/2015 at 16:29:26 +0100, Alexander Stein wrote :
> > + if (!regs) {
> > + pr_warn("Could not map DBGU iomem range");
> > + iounmap(regs);
>
> I guess if regs == NULL there is no need to iounmap them, no?
>
Indeed :)
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the linux-arm-kernel
mailing list