diff options
author | Dhananjay Balan <mail@dbalan.in> | 2017-04-24 15:15:53 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-28 12:07:24 +0200 |
commit | 0c8f4650eaef96794fe5d581e73968ad3050323f (patch) | |
tree | 12c76eaf62a0035ce22574db6d9de5261b7dd96f /drivers/staging | |
parent | 17475c50bea854ba4e0da8198b98d921be2285cb (diff) | |
download | linux-0c8f4650eaef96794fe5d581e73968ad3050323f.tar.bz2 |
staging: olpc_dcon: style fixes
removes hardcoded function name and uses __func__ to print info.
Signed-off-by: Dhananjay Balan <mail@dbalan.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/olpc_dcon/olpc_dcon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c index 684815c98789..f7f3a780ec10 100644 --- a/drivers/staging/olpc_dcon/olpc_dcon.c +++ b/drivers/staging/olpc_dcon/olpc_dcon.c @@ -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); |