[PATCH 6.1 097/162] regulator/core: regulator_register: set device->class earlier