diff options
| author | Daniel Golle <daniel@makrotopia.org> | 2026-01-05 19:39:26 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-01-08 15:18:26 +0300 |
| commit | d8489935f5979b72e73de585037fe6fde7088bc3 (patch) | |
| tree | f45a2306557d478bd814fd6cc2165f5e250eb5c6 /include | |
| parent | 1850ec20d6e71218c02329e5975591075dc972d3 (diff) | |
| download | linux-d8489935f5979b72e73de585037fe6fde7088bc3.tar.xz | |
net: phy: realtek: get rid of magic number in rtlgen_read_status()
Use newly introduced helper macros RTL822X_VND2_TO_PAGE and
RTL822X_VND2_TO_PAGE_REG to access RTL_VEND2_PHYSR register over Clause-22
paged access instead of using magic numbers.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/a53d4577335fdda4d363db9bc4bf614fd3a56c9b.1767630451.git.daniel@makrotopia.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
