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)
10650
10650
10651
10651
dytc_profile .dev = & tpacpi_pdev -> dev ;
10652
10652
/* Create platform_profile structure and register */
10653
- err = platform_profile_register (& dytc_profile , NULL );
10653
+ err = devm_platform_profile_register (& dytc_profile , NULL );
10654
10654
/*
10655
10655
* If for some reason platform_profiles aren't enabled
10656
10656
* don't quit terminally.
@@ -10668,14 +10668,8 @@ static int tpacpi_dytc_profile_init(struct ibm_init_struct *iibm)
10668
10668
return 0 ;
10669
10669
}
10670
10670
10671
- static void dytc_profile_exit (void )
10672
- {
10673
- platform_profile_remove (& dytc_profile );
10674
- }
10675
-
10676
10671
static struct ibm_struct dytc_profile_driver_data = {
10677
10672
.name = "dytc-profile" ,
10678
- .exit = dytc_profile_exit ,
10679
10673
};
10680
10674
10681
10675
/*************************************************************************
You can’t perform that action at this time.
0 commit comments