提交 0c8f4650 编写于 作者: D Dhananjay Balan 提交者: Greg Kroah-Hartman

staging: olpc_dcon: style fixes

 removes hardcoded function name and uses __func__ to print info.
Signed-off-by: NDhananjay Balan <mail@dbalan.in>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 17475c50
......@@ -290,7 +290,7 @@ static void dcon_source_switch(struct work_struct *work)
switch (source) {
case DCON_SOURCE_CPU:
pr_info("dcon_source_switch to CPU\n");
pr_info("%s to CPU\n", __func__);
/* Enable the scanline interrupt bit */
if (dcon_write(dcon, DCON_REG_MODE,
dcon->disp_mode | MODE_SCAN_INT))
......@@ -330,7 +330,7 @@ static void dcon_source_switch(struct work_struct *work)
{
ktime_t delta_t;
pr_info("dcon_source_switch to DCON\n");
pr_info("%s to DCON\n", __func__);
/* Clear DCONLOAD - this implies that the DCON is in control */
pdata->set_dconload(0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册