diff options
| author | Thomas Weißschuh <[email protected]> | 2025-02-07 09:39:05 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-02-11 09:20:52 +0000 |
| commit | 9a884c3800b207bac36e27be4ec7277c78a84568 (patch) | |
| tree | 3dc6d422af88aeedf48cbf2b78b55883c23e90a0 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | ptp: vmclock: Don't unregister misc device if it was not registered (diff) | |
| download | kernel-9a884c3800b207bac36e27be4ec7277c78a84568.tar.gz kernel-9a884c3800b207bac36e27be4ec7277c78a84568.zip | |
ptp: vmclock: Clean up miscdev and ptp clock through devres
Most resources owned by the vmclock device are managed through devres.
Only the miscdev and ptp clock are managed manually.
This makes the code slightly harder to understand than necessary.
Switch them over to devres and remove the now unnecessary drvdata.
Signed-off-by: Thomas Weißschuh <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Reviewed-by: David Woodhouse <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
