File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -10650,7 +10650,7 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
1065010650
1065110651 dytc_profile .dev = & tpacpi_pdev -> dev ;
1065210652 /* Create platform_profile structure and register */
10653- err = platform_profile_register (& dytc_profile , NULL );
10653+ err = devm_platform_profile_register (& dytc_profile , NULL );
1065410654 /*
1065510655 * If for some reason platform_profiles aren't enabled
1065610656 * don't quit terminally.
@@ -10668,14 +10668,8 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
1066810668 return 0 ;
1066910669}
1067010670
10671- static void dytc_profile_exit (void )
10672- {
10673- platform_profile_remove (& dytc_profile );
10674- }
10675-
1067610671static struct ibm_struct dytc_profile_driver_data = {
1067710672 .name = "dytc-profile" ,
10678- .exit = dytc_profile_exit ,
1067910673};
1068010674
1068110675/*************************************************************************
You can’t perform that action at this time.
0 commit comments