提交 31e56f23 编写于 作者: Z Zhang Xianwei 提交者: Andy Shevchenko

platform/x86: ideapad-laptop: Use __func__ instead of read_ec_cmd in pr_err

Refer to the commit f1395edb ("platform/x86: ideapad-laptop: Use
__func__ instead of write_ec_cmd in pr_err"), prefer using '"%s...",
__func__' to using 'read_ec_cmd' in read_ec_data.
Signed-off-by: NZhang Xianwei <zhang.xianwei8@zte.com.cn>
Acked-by: NIke Panhc <ike.pan@canonical.com>
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
上级 6fd30d01
......@@ -212,7 +212,7 @@ static int read_ec_data(acpi_handle handle, int cmd, unsigned long *data)
return 0;
}
}
pr_err("timeout in read_ec_cmd\n");
pr_err("timeout in %s\n", __func__);
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册