projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4719ebf
)
ti-st: st-kim: Dont let probe fail when debugfs is disabled
author
Robin van der Gracht
<robin@protonic.nl>
Mon, 16 Jun 2014 14:38:56 +0000
(16:38 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 10 Jul 2014 00:33:25 +0000
(17:33 -0700)
Signed-off-by: Robin van der Gracht <robin@protonic.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/ti-st/st_kim.c
patch
|
blob
|
history
diff --git
a/drivers/misc/ti-st/st_kim.c
b/drivers/misc/ti-st/st_kim.c
index 9d3dbb28734b9fd29c99de4eff7c9dccd7041024..45007be7cfb74b27767dda7d9eeec49694b6955a 100644
(file)
--- a/
drivers/misc/ti-st/st_kim.c
+++ b/
drivers/misc/ti-st/st_kim.c
@@
-778,7
+778,7
@@
static int kim_probe(struct platform_device *pdev)
pr_info("sysfs entries created\n");
kim_debugfs_dir = debugfs_create_dir("ti-st", NULL);
- if (
IS_ERR(kim_debugfs_dir)
) {
+ if (
!kim_debugfs_dir
) {
pr_err(" debugfs entries creation failed ");
err = -EIO;
goto err_debugfs_dir;
@@
-788,7
+788,6
@@
static int kim_probe(struct platform_device *pdev)
kim_gdata, &version_debugfs_fops);
debugfs_create_file("protocols", S_IRUGO, kim_debugfs_dir,
kim_gdata, &list_debugfs_fops);
- pr_info(" debugfs entries created ");
return 0;
err_debugfs_dir: