wt6630 remove unused pointer struct

Remove unused pointer struct
at fogo.

Change-Id: I458d243c1960a89a228a2034cae8016907625f85
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2666341
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
This commit is contained in:
xuwei9 2023-07-05 17:56:47 +08:00 • committed by Wei Xu
commit 83f446f45e

View file

@ -876,7 +876,7 @@ static int wt6670f_i2c_probe(struct i2c_client *client,
pr_info("[%s] gpio_direction_input wt6670f_int_pin failed", __func__);
probe_out:
/* Create the procfs file at /proc/driver/wt6670f_firmware_num */
procfs_file = proc_create("driver/wt6670f_firmware_num",0777, NULL, (const struct proc_ops *)&mmi_wt6670f_operations);
procfs_file = proc_create("driver/wt6670f_firmware_num",0777, NULL, &mmi_wt6670f_operations);
return 0;
}