drivers/regulator: use PTR_ERR to get error code