net: remove usage of device_pm_control_nop
If device PM is not implemented just use NULL. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
e25dc6ff80
commit
3daf9f2d97
5 changed files with 11 additions and 13 deletions
|
@ -2235,7 +2235,7 @@ struct net_if_api {
|
|||
* the system.
|
||||
* @param init_fn Address to the init function of the driver.
|
||||
* @param pm_control_fn Pointer to device_pm_control function.
|
||||
* Can be empty function (device_pm_control_nop) if not implemented.
|
||||
* Can be NULL if not implemented.
|
||||
* @param data Pointer to the device's private data.
|
||||
* @param cfg The address to the structure containing the
|
||||
* configuration information for this instance of the driver.
|
||||
|
@ -2262,7 +2262,7 @@ struct net_if_api {
|
|||
* @param node_id The devicetree node identifier.
|
||||
* @param init_fn Address to the init function of the driver.
|
||||
* @param pm_control_fn Pointer to device_pm_control function.
|
||||
* Can be empty function (device_pm_control_nop) if not implemented.
|
||||
* Can be NULL if not implemented.
|
||||
* @param data Pointer to the device's private data.
|
||||
* @param cfg The address to the structure containing the
|
||||
* configuration information for this instance of the driver.
|
||||
|
@ -2317,7 +2317,7 @@ struct net_if_api {
|
|||
* @param instance Instance identifier.
|
||||
* @param init_fn Address to the init function of the driver.
|
||||
* @param pm_control_fn Pointer to device_pm_control function.
|
||||
* Can be empty function (device_pm_control_nop) if not implemented.
|
||||
* Can be NULL if not implemented.
|
||||
* @param data Pointer to the device's private data.
|
||||
* @param cfg The address to the structure containing the
|
||||
* configuration information for this instance of the driver.
|
||||
|
@ -2349,7 +2349,7 @@ struct net_if_api {
|
|||
* @param instance Instance identifier.
|
||||
* @param init_fn Address to the init function of the driver.
|
||||
* @param pm_control_fn Pointer to device_pm_control function.
|
||||
* Can be empty function (device_pm_control_nop) if not implemented.
|
||||
* Can be NULL if not implemented.
|
||||
* @param data Pointer to the device's private data.
|
||||
* @param cfg The address to the structure containing the
|
||||
* configuration information for this instance of the driver.
|
||||
|
@ -2401,7 +2401,7 @@ struct net_if_api {
|
|||
* the system.
|
||||
* @param init_fn Address to the init function of the driver.
|
||||
* @param pm_control_fn Pointer to device_pm_control function.
|
||||
* Can be empty function (device_pm_control_nop) if not implemented.
|
||||
* Can be NULL if not implemented.
|
||||
* @param data Pointer to the device's private data.
|
||||
* @param cfg The address to the structure containing the
|
||||
* configuration information for this instance of the driver.
|
||||
|
@ -2427,7 +2427,7 @@ struct net_if_api {
|
|||
* @param node_id The devicetree node identifier.
|
||||
* @param init_fn Address to the init function of the driver.
|
||||
* @param pm_control_fn Pointer to device_pm_control function.
|
||||
* Can be empty function (device_pm_control_nop) if not implemented.
|
||||
* Can be NULL if not implemented.
|
||||
* @param data Pointer to the device's private data.
|
||||
* @param cfg The address to the structure containing the
|
||||
* configuration information for this instance of the driver.
|
||||
|
|
|
@ -295,7 +295,7 @@ net_virtual_get_iface_capabilities(struct net_if *iface)
|
|||
* the system.
|
||||
* @param init_fn Address to the init function of the driver.
|
||||
* @param pm_control_fn Pointer to device_pm_control function.
|
||||
* Can be empty function (device_pm_control_nop) if not implemented.
|
||||
* Can be NULL if not implemented.
|
||||
* @param data Pointer to the device's private data.
|
||||
* @param cfg The address to the structure containing the
|
||||
* configuration information for this instance of the driver.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue