mailbox: xgene-slimpro: Fix wrong test for devm_kzalloc
authorAxel Lin <axel.lin@ingics.com>
Mon, 21 Mar 2016 12:12:20 +0000 (20:12 +0800)
committerJassi Brar <jaswinder.singh@linaro.org>
Fri, 8 Apr 2016 04:00:11 +0000 (09:30 +0530)
commita61b37ead51488e321fe559a4edd0325c6d4c937
treeaf81cd412d9470b440b7aac283dd4b1a103b39f5
parent3c9688876ace9ca4cd8630e5fbba8bb28235990a
mailbox: xgene-slimpro: Fix wrong test for devm_kzalloc

devm_kzalloc() returns NULL on failure.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/mailbox-xgene-slimpro.c