From 83f446f45e55360c07a6bcd6a3fabe4e644d2f47 Mon Sep 17 00:00:00 2001 From: xuwei9 Date: Wed, 5 Jul 2023 17:56:47 +0800 Subject: [PATCH] wt6630 remove unused pointer struct Remove unused pointer struct at fogo. Change-Id: I458d243c1960a89a228a2034cae8016907625f85 Signed-off-by: xuwei9 Reviewed-on: https://gerrit.mot.com/2666341 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wang Wang Submit-Approved: Jira Key --- drivers/power/mmi_qc3p_wt6670f/wt6670f_qc3p.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/mmi_qc3p_wt6670f/wt6670f_qc3p.c b/drivers/power/mmi_qc3p_wt6670f/wt6670f_qc3p.c index 2a448d82c743..af95bbe45f59 100644 --- a/drivers/power/mmi_qc3p_wt6670f/wt6670f_qc3p.c +++ b/drivers/power/mmi_qc3p_wt6670f/wt6670f_qc3p.c @@ -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; }