diff options
| author | andrea merello <andrea.merello@gmail.com> | 2014-01-21 20:16:43 +0100 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2014-02-12 15:31:49 -0500 |
| commit | 6f7343d4c4682b52943993decc8678084a35514d (patch) | |
| tree | f55d319247b18ec90bcfe5fcf72054341928c992 /net/lapb/lapb_subr.c | |
| parent | bafc20a6499b931ab53afa75d535f338f86d525b (diff) | |
rtl818x: change misleading names for few register bit definitions
In rtl8180/rtl8187 drivers, few register bit definitions have
names of form FOOBAR_SHIFT, suggesting they should be used as
shift offset, for example
reg |= (1 << ENABLE_FOO_SHIFT).
However they are actually defined as (1 << x) and thus they are
used (correctly) like
reg |= ENABLE_FOO_SHIFT;
This patch kills the misleading _SHIFT suffix.
Signed-off-by: andrea merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
