input: qcom-hv-haptics: remove return value for debugfs_create_u32()

Remove the return value when creating "fifo_empty_thresh" debugfs node
because debugfs_create_u32() API no longer supports return value.

Change-Id: I7b39ed79a9148c2815b8656222dc6f61540b2129
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
This commit is contained in:
Fenglin Wu 2021-09-22 09:33:54 +08:00 committed by David Collins
parent 9335fe8f01
commit 42bc856797

View File

@ -3511,15 +3511,8 @@ static int haptics_create_debugfs(struct haptics_chip *chip)
goto exit;
}
file = debugfs_create_u32("fifo_empty_thresh", 0600, hap_dir,
debugfs_create_u32("fifo_empty_thresh", 0600, hap_dir,
&chip->config.fifo_empty_thresh);
if (IS_ERR(file)) {
rc = PTR_ERR(file);
dev_err(chip->dev, "create fifo_empty_thresh debugfs failed, rc=%d\n",
rc);
goto exit;
}
chip->debugfs_dir = hap_dir;
return 0;