dytc_profile.dev = &tpacpi_pdev->dev;
        /* Create platform_profile structure and register */
-       err = platform_profile_register(&dytc_profile, NULL);
+       err = devm_platform_profile_register(&dytc_profile, NULL);
        /*
         * If for some reason platform_profiles aren't enabled
         * don't quit terminally.
        return 0;
 }
 
-static void dytc_profile_exit(void)
-{
-       platform_profile_remove(&dytc_profile);
-}
-
 static struct ibm_struct  dytc_profile_driver_data = {
        .name = "dytc-profile",
-       .exit = dytc_profile_exit,
 };
 
 /*************************************************************************