diff options
| author | Niklas Söderlund <[email protected]> | 2025-03-05 17:46:31 +0000 |
|---|---|---|
| committer | Daniel Lezcano <[email protected]> | 2025-03-25 19:52:04 +0000 |
| commit | bccdbba51a946fdfa08e972f14526a081c6f8bf7 (patch) | |
| tree | f5a93ddca9cf277eefef6842b64460bfba6abcc2 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | thermal: rcar_gen3: Use lowercase hex constants (diff) | |
| download | kernel-bccdbba51a946fdfa08e972f14526a081c6f8bf7.tar.gz kernel-bccdbba51a946fdfa08e972f14526a081c6f8bf7.zip | |
thermal: rcar_gen3: Reuse logic to read fuses on Gen3 and Gen4
The hardware calibration is fused on some, but not all, Gen3 and Gen4
boards. The calibrations values are the same on both generations but
located at different register offsets.
Instead of having duplicated logic to read the and store the values
create structure to hold the register parameters and have a common
function do the reading.
Signed-off-by: Niklas Söderlund <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
