diff options
| author | Jakub Kicinski <[email protected]> | 2023-01-20 02:55:37 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-01-20 02:55:37 +0000 |
| commit | 482acbd68ea391b7a4033c90a50b9cf680afbe93 (patch) | |
| tree | 93208953ca4a941a00d746f4184cb87868f7890e /drivers/net/dsa/microchip/ksz_ptp.c | |
| parent | Merge branch 'net-phy-remove-probe_capabilities' (diff) | |
| parent | net: sfp: remove unused ctype.h include (diff) | |
| download | kernel-482acbd68ea391b7a4033c90a50b9cf680afbe93.tar.gz kernel-482acbd68ea391b7a4033c90a50b9cf680afbe93.zip | |
Merge branch 'net-sfp-cleanup-i2c-dt-acpi-fwnode-includes'
Russell King says:
====================
net: sfp: cleanup i2c / dt / acpi / fwnode / includes
This series cleans up the DT/fwnode/ACPI code in the SFP cage driver:
1. Use the newly introduced i2c_get_adapter_by_fwnode(), which removes
the need to know about ACPI handles to find the I2C device.
2. Use device_get_match_data() to get the match data, rather than
having to look up the matching DT device_id to get at the data.
3. Rename gpio_of_names, as this is not DT specific.
4. Remove acpi.h include which is no longer necessary.
5. Remove ctype.h include which, as far as I can tell, was never
necessary.
====================
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_ptp.c')
0 files changed, 0 insertions, 0 deletions
