From 7c1ccc6b4fdea8b7957587449701308cfdf8054d Mon Sep 17 00:00:00 2001 From: Dharmesh Patel Date: Wed, 13 Nov 2019 11:06:06 -0600 Subject: [PATCH] DLKM/Sar: optimise the log output mechanism Change-Id: I67a251b3916380f394cf2b8d27ea723a11263717 error: sx933x_sar.c:1151:5: warning: too many arguments for format fix: for now removing __func__ Reviewed-on: https://gerrit.mot.com/1454846 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Ling Jin Submit-Approved: Jira Key --- drivers/misc/sx933x/sx933x_sar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/sx933x/sx933x_sar.c b/drivers/misc/sx933x/sx933x_sar.c index 22eac5aa3999..fbcc1e5a083a 100644 --- a/drivers/misc/sx933x/sx933x_sar.c +++ b/drivers/misc/sx933x/sx933x_sar.c @@ -1148,7 +1148,7 @@ static int sx933x_probe(struct i2c_client *client, const struct i2c_device_id *i extcon_get_edev_by_phandle(&client->dev, 0); if (IS_ERR(pplatData->ext_flip_det)) { pplatData->ext_flip_det = NULL; - LOG_ERR("failed to get extcon flip dev\n", __func__); + LOG_ERR("failed to get extcon flip dev\n"); } else { if(extcon_register_notifier(pplatData->ext_flip_det, EXTCON_MECHANICAL, &pplatData->flip_notif))