[powerdebug V2: 04/14] check the return value of init_regulator_ds and fix prototype