From: Wei Yongjun Date: Wed, 30 Jul 2014 00:53:41 +0000 (+0800) Subject: HSI: omap_ssi: Fix return value check in ssi_debug_add_ctrl() X-Git-Tag: cleanup-for-v3.18~104^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fd276e9c0d75538c3b5ed96d0ce36d227fdca95;p=pandora-kernel.git HSI: omap_ssi: Fix return value check in ssi_debug_add_ctrl() 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