linux/drivers/net/ethernet/intel/fm10k
Jesse Brandeburg 75a3f93b53 net: intel: implement modern PM ops declarations
Switch the Intel networking drivers to use the new power management ops
declaration formats and macros, which allows us to drop __maybe_unused,
as well as a bunch of ifdef checking CONFIG_PM.

This is safe to do because the compiler drops the unused functions,
verified by checking for any of the power management function symbols
being present in System.map for a build without CONFIG_PM.

If a driver has runtime PM, define the ops with pm_ptr(), and if the
driver has Simple PM, use pm_sleep_ptr(), as well as the new versions of
the macros for declaring the members of the pm_ops structs.

Checked with network-enabled allnoconfig, allyesconfig, allmodconfig on
x64_64.

Reviewed-by: Alan Brady <alan.brady@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2024-03-29 08:58:43 -07:00
..
fm10k.h
fm10k_common.c
fm10k_common.h
fm10k_dcbnl.c
fm10k_debugfs.c
fm10k_ethtool.c net: ethtool: pass a pointer to parameters to get/set_rxfh ethtool ops 2023-12-13 22:07:16 -08:00
fm10k_iov.c
fm10k_main.c
fm10k_mbx.c
fm10k_mbx.h
fm10k_netdev.c
fm10k_pci.c net: intel: implement modern PM ops declarations 2024-03-29 08:58:43 -07:00
fm10k_pf.c intel: legacy: field get conversion 2023-12-18 11:20:43 -08:00
fm10k_pf.h
fm10k_tlv.c
fm10k_tlv.h
fm10k_type.h
fm10k_vf.c intel: legacy: field get conversion 2023-12-18 11:20:43 -08:00
fm10k_vf.h
Makefile