msm: camera: req_mgr: Debugfs API update

Kernel 5.5+ changed debugfs API's for creating simple dentry variables.
There is now no return value for those API's.

CRs-Fixed: 2835738
Change-Id: Ic5eea63f2e94451e5dfb211cb2b4aa80ce47073a
Signed-off-by: Karthik Jayakumar <kjayakum@codeaurora.org>
This commit is contained in:
Karthik Jayakumar
2020-11-03 14:50:24 -08:00
committed by Gerrit - the friendly Code Review server
parent 8b54992c6f
commit e34f0768f2
3 changed files with 6 additions and 7 deletions

View File

@@ -6041,9 +6041,9 @@ static int cam_isp_context_debug_register(void)
/* Store parent inode for cleanup in caller */
isp_ctx_debug.dentry = dbgfileptr;
dbgfileptr = debugfs_create_u32("enable_state_monitor_dump", 0644,
debugfs_create_u32("enable_state_monitor_dump", 0644,
isp_ctx_debug.dentry, &isp_ctx_debug.enable_state_monitor_dump);
dbgfileptr = debugfs_create_u8("enable_cdm_cmd_buffer_dump", 0644,
debugfs_create_u8("enable_cdm_cmd_buffer_dump", 0644,
isp_ctx_debug.dentry, &isp_ctx_debug.enable_cdm_cmd_buff_dump);
if (IS_ERR(dbgfileptr)) {
if (PTR_ERR(dbgfileptr) == -ENODEV)