File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2238,7 +2238,7 @@ static int cs42l43_codec_remove(struct platform_device *pdev)
2238
2238
return 0 ;
2239
2239
}
2240
2240
2241
- static int __maybe_unused cs42l43_codec_runtime_resume (struct device * dev )
2241
+ static int cs42l43_codec_runtime_resume (struct device * dev )
2242
2242
{
2243
2243
struct cs42l43_codec * priv = dev_get_drvdata (dev );
2244
2244
@@ -2250,9 +2250,8 @@ static int __maybe_unused cs42l43_codec_runtime_resume(struct device *dev)
2250
2250
return 0 ;
2251
2251
}
2252
2252
2253
- static const struct dev_pm_ops cs42l43_codec_pm_ops = {
2254
- SET_RUNTIME_PM_OPS (NULL , cs42l43_codec_runtime_resume , NULL )
2255
- };
2253
+ DEFINE_RUNTIME_DEV_PM_OPS (cs42l43_codec_pm_ops , NULL ,
2254
+ cs42l43_codec_runtime_resume , NULL );
2256
2255
2257
2256
static const struct platform_device_id cs42l43_codec_id_table [] = {
2258
2257
{ "cs42l43-codec" , },
You can’t perform that action at this time.
0 commit comments