[PATCH openEuler-1.0-LTS v4 083/292] Intel: intel_rapl: cleanup some functions