diff options
| author | Ujwal Patel <ujwalp@codeaurora.org> | 2015-07-21 15:51:36 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:44:26 -0700 |
| commit | 50fff2d6ff154dedbbd051d22757caf1be230ae3 (patch) | |
| tree | 3b1b6ccd20d7fbc3da169a5e6cfa73842ece5b4b /drivers/video/fbdev | |
| parent | 351537d51f5b81cb5998f9d2b9c484076cfcca36 (diff) | |
msm: mdss: debug: fix typo in error checking
Fix a typo in error checking while creating bordercolor debugfs
directory.
Change-Id: I7477f41bdf31dfbd4f9763c3612ccc3f61c5657c
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_debug.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/fbdev/msm/mdss_debug.c b/drivers/video/fbdev/msm/mdss_debug.c index 9b275e12bf1c..2f6a71f8c847 100644 --- a/drivers/video/fbdev/msm/mdss_debug.c +++ b/drivers/video/fbdev/msm/mdss_debug.c @@ -1099,9 +1099,9 @@ int mdss_debugfs_init(struct mdss_data_type *mdata) } mdd->bordercolor = debugfs_create_dir("bordercolor", mdd->root); - if (IS_ERR_OR_NULL(mdd->root)) { - pr_err("debugfs_create_dir for mdp failed, error %ld\n", - PTR_ERR(mdd->root)); + if (IS_ERR_OR_NULL(mdd->bordercolor)) { + pr_err("debugfs_create_dir for bordercolor failed, error %ld\n", + PTR_ERR(mdd->bordercolor)); goto err; } |
