diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2014-07-30 02:53:41 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2014-07-31 00:20:33 +0200 |
commit | 3fd276e9c0d75538c3b5ed96d0ce36d227fdca95 (patch) | |
tree | e50ce59ee321d3a7ab997cc75f8c8a84520b1908 /drivers/connector | |
parent | HSI: omap_ssi_port: Fix return value check in ssi_debug_add_port() (diff) | |
download | linux-3fd276e9c0d75538c3b5ed96d0ce36d227fdca95.tar.xz linux-3fd276e9c0d75538c3b5ed96d0ce36d227fdca95.zip |
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>
Diffstat (limited to 'drivers/connector')
0 files changed, 0 insertions, 0 deletions