]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: db8500-prcmu: Check return of devm_ioremap for error
authorPramod Gurav <pramod.gurav@smartplayin.com>
Thu, 30 Oct 2014 09:21:35 +0000 (14:51 +0530)
committerLee Jones <lee.jones@linaro.org>
Tue, 25 Nov 2014 16:18:49 +0000 (16:18 +0000)
commitb2091fe59b4c811adfbca9f587e4d1373363c95e
treed645c7de99eb01976e84eeed22f5760658732e08
parente05627a6483ef617248fc6c3a84e9da0b1103c95
mfd: db8500-prcmu: Check return of devm_ioremap for error

Error check around return value of devm_ioremap is missing. Add the same
to avoid NULL pointer dereference.

Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/db8500-prcmu.c