commit | 3fd276e9c0d75538c3b5ed96d0ce36d227fdca95 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Wed Jul 30 08:53:41 2014 +0800 |
committer | Sebastian Reichel <sre@kernel.org> | Thu Jul 31 00:20:33 2014 +0200 |
tree | e50ce59ee321d3a7ab997cc75f8c8a84520b1908 | |
parent | c2acb7c4d566a1735e255acc7260e1dec6b9a7c8 [diff] |
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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Sebastian Reichel <sre@kernel.org>