Skip to content

Commit

Permalink
staging: vt6656: Replace embedded function name with __func__ in rf.c
Browse files Browse the repository at this point in the history
Change embedded function name in vnt_rf_set_txpower with %s format with
__func__ argument to make it consistent with other part of if-else and
kernel coding style standards as reported by checkpatch.

Signed-off-by: Daniel Cashman <dan.a.cashman@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Dan Cashman authored and Greg Kroah-Hartman committed Apr 8, 2017
1 parent a4dc9bd commit 04a218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/vt6656/rf.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ int vnt_rf_set_txpower(struct vnt_private *priv, u8 power, u32 rate)
ret &= vnt_rf_write_embedded(priv, 0x015C0800);
} else {
dev_dbg(&priv->usb->dev,
"@@@@ vnt_rf_set_txpower> 11G mode\n");
"@@@@ %s> 11G mode\n", __func__);

power_setting = ((0x3f - power) << 20) | (0x7 << 8);

Expand Down

0 comments on commit 04a218b

Please sign in to comment.