From: Wei Yongjun Date: Wed, 14 Jan 2015 01:10:56 +0000 (+0800) Subject: Mailbox: Fix return value check in pcc_init() X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~122^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=356d5d28f2cd45ee1956ee868de6f5d37bb9f7dd;p=pandora-kernel.git Mailbox: Fix return value check in pcc_init() In case of error, the function platform_create_bundle() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Signed-off-by: Wei Yongjun --- Reading git-diff-tree failed