[PATCH openEuler-22.03-LTS-SP1 5/7] PM: core: Remove unnecessary (void *) conversions