[PATCH 6.5 090/163] regulator/core: regulator_register: set device->class earlier