platform/x86: ideapad-laptop: Use __func__ instead of read_ec_cmd in pr_err
authorZhang Xianwei <zhang.xianwei8@zte.com.cn>
Tue, 4 Sep 2018 07:08:19 +0000 (15:08 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 27 Sep 2018 08:45:28 +0000 (11:45 +0300)
commit31e56f2305bbc213e9e9f0e21826cceab70d5336
treeba53182f1db58932f8aba48b8e76bb1105bab45b
parent6fd30d014483d6c00e04a45ead8840a375aeab5d
platform/x86: ideapad-laptop: Use __func__ instead of read_ec_cmd in pr_err

Refer to the commit f1395edbcec8 ("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: Zhang Xianwei <zhang.xianwei8@zte.com.cn>
Acked-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/ideapad-laptop.c