File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -1652,7 +1652,7 @@ static int thermal_profile_setup(struct platform_device *device)
16521652 platform_profile_handler .name = "hp-wmi" ;
16531653 platform_profile_handler .dev = & device -> dev ;
16541654
1655- err = platform_profile_register (& platform_profile_handler , NULL );
1655+ err = devm_platform_profile_register (& platform_profile_handler , NULL );
16561656 if (err )
16571657 return err ;
16581658
@@ -1714,9 +1714,6 @@ static void __exit hp_wmi_bios_remove(struct platform_device *device)
17141714 rfkill_unregister (wwan_rfkill );
17151715 rfkill_destroy (wwan_rfkill );
17161716 }
1717-
1718- if (platform_profile_support )
1719- platform_profile_remove (& platform_profile_handler );
17201717}
17211718
17221719static int hp_wmi_resume_handler (struct device * device )
You can’t perform that action at this time.
0 commit comments