From: Wei Yongjun Date: Wed, 30 Jul 2014 00:53:20 +0000 (+0800) Subject: HSI: omap_ssi_port: Fix return value check in ssi_debug_add_port() X-Git-Tag: cleanup-for-v3.18~104^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2acb7c4d566a1735e255acc7260e1dec6b9a7c8;p=pandora-kernel.git HSI: omap_ssi_port: Fix return value check in ssi_debug_add_port() In case of error, the function debugfs_create_*() returns NULL pointer not ERR_PTR() if debugfs is enabled. The IS_ERR() test in the return value check should be replaced with NULL test. Signed-off-by: Wei Yongjun Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed