r8169:change the name of function"rtl_w1w0_eri"
authorChun-Hao Lin <hau@realtek.com>
Wed, 1 Oct 2014 15:17:18 +0000 (23:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Oct 2014 19:33:18 +0000 (15:33 -0400)
commit706123d06c18b55da5e9da21e2d138ee789bf8f4
treebe352b0484cd4460f0afd689cb9fee0cea28719e
parent7656442824f6174b56a19c664fe560972df56ad4
r8169:change the name of function"rtl_w1w0_eri"

Change the name of function "rtl_w1w0_eri" to "rtl_w0w1_eri".

In this function, the local variable "val" is "write zeros then write ones".
Please see below code.

(val & ~m) | p

In this patch, change the function name from "xx_w1w0_xx" to "xx_w0w1_xx".
The changed function name is more suitable for it's behavior.

Signed-off-by: Chun-Hao Lin <hau@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c