[PATCH v8 3/8] PM / EM: update callback structure and add device pointer