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 <lingjin@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Dharmesh Patel 2019-11-13 11:06:06 -06:00 • committed by Dharmeshkumar Patel
commit 7c1ccc6b4f

View file

@ -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))