mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
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:
parent
9335fe8f01
commit
42bc856797
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user