File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -727,15 +727,15 @@ static void sun4i_spdif_remove(struct platform_device *pdev)
727
727
}
728
728
729
729
static const struct dev_pm_ops sun4i_spdif_pm = {
730
- SET_RUNTIME_PM_OPS (sun4i_spdif_runtime_suspend ,
731
- sun4i_spdif_runtime_resume , NULL )
730
+ RUNTIME_PM_OPS (sun4i_spdif_runtime_suspend ,
731
+ sun4i_spdif_runtime_resume , NULL )
732
732
};
733
733
734
734
static struct platform_driver sun4i_spdif_driver = {
735
735
.driver = {
736
736
.name = "sun4i-spdif" ,
737
737
.of_match_table = sun4i_spdif_of_match ,
738
- .pm = & sun4i_spdif_pm ,
738
+ .pm = pm_ptr ( & sun4i_spdif_pm ) ,
739
739
},
740
740
.probe = sun4i_spdif_probe ,
741
741
.remove = sun4i_spdif_remove ,
Original file line number Diff line number Diff line change @@ -415,15 +415,15 @@ static void sun50i_dmic_remove(struct platform_device *pdev)
415
415
}
416
416
417
417
static const struct dev_pm_ops sun50i_dmic_pm = {
418
- SET_RUNTIME_PM_OPS (sun50i_dmic_runtime_suspend ,
419
- sun50i_dmic_runtime_resume , NULL )
418
+ RUNTIME_PM_OPS (sun50i_dmic_runtime_suspend ,
419
+ sun50i_dmic_runtime_resume , NULL )
420
420
};
421
421
422
422
static struct platform_driver sun50i_dmic_driver = {
423
423
.driver = {
424
424
.name = "sun50i-dmic" ,
425
425
.of_match_table = sun50i_dmic_of_match ,
426
- .pm = & sun50i_dmic_pm ,
426
+ .pm = pm_ptr ( & sun50i_dmic_pm ) ,
427
427
},
428
428
.probe = sun50i_dmic_probe ,
429
429
.remove = sun50i_dmic_remove ,
Original file line number Diff line number Diff line change @@ -1702,15 +1702,15 @@ static const struct of_device_id sun8i_codec_of_match[] = {
1702
1702
MODULE_DEVICE_TABLE (of , sun8i_codec_of_match );
1703
1703
1704
1704
static const struct dev_pm_ops sun8i_codec_pm_ops = {
1705
- SET_RUNTIME_PM_OPS (sun8i_codec_runtime_suspend ,
1706
- sun8i_codec_runtime_resume , NULL )
1705
+ RUNTIME_PM_OPS (sun8i_codec_runtime_suspend ,
1706
+ sun8i_codec_runtime_resume , NULL )
1707
1707
};
1708
1708
1709
1709
static struct platform_driver sun8i_codec_driver = {
1710
1710
.driver = {
1711
1711
.name = "sun8i-codec" ,
1712
1712
.of_match_table = sun8i_codec_of_match ,
1713
- .pm = & sun8i_codec_pm_ops ,
1713
+ .pm = pm_ptr ( & sun8i_codec_pm_ops ) ,
1714
1714
},
1715
1715
.probe = sun8i_codec_probe ,
1716
1716
.remove = sun8i_codec_remove ,
You can’t perform that action at this time.
0 commit comments