# Re: \[PATCH 8/8\] net/iucv: Use the new device\_to\_pm() helper to access struct dev\_pm\_ops

- From: Ursula Braun \<hidden\>
- Date: 2020-05-26 07:59:33 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/05/6738544
- Thread: https://ratatoskr.run/netdev/2020/05/6738536/t.md

```text


On 5/25/20 8:26 PM, Krzysztof Wilczyński wrote:
> Use the new device_to_pm() helper to access Power Management callbacs
> (struct dev_pm_ops) for a particular device (struct device_driver).
> 
> No functional change intended.
> 
> Signed-off-by: Krzysztof Wilczyński <redacted>

pm support is going to be removed (for s390 in general and) for
net/iucv/iucv.c with this net-next patch:

commit 4b32f86bf1673acb16441dd55d7b325609f54897
Author: Julian Wiedmann [ref]
Date:   Tue May 19 21:10:08 2020 +0200

    net/iucv: remove pm support
    
    commit 394216275c7d ("s390: remove broken hibernate / power management support")
    removed support for ARCH_HIBERNATION_POSSIBLE from s390.
    
    So drop the unused pm ops from the s390-only iucv bus driver.
    
    CC: Hendrik Brueckner [ref]
    Signed-off-by: Julian Wiedmann [ref]
    Signed-off-by: David S. Miller [ref]

> ---
>  net/iucv/iucv.c | 30 ++++++++++++++++++------------
>  1 file changed, 18 insertions(+), 12 deletions(-)
> 
> diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c
> index 9a2d023842fe..1a3029ab7c1f 100644
> --- a/net/iucv/iucv.c
> +++ b/net/iucv/iucv.c

...
```
