}
static struct regulator *_devm_regulator_get(struct device *dev, const char *id,
- int get_type)
+ enum regulator_get_type get_type)
{
struct regulator **ptr, *regulator;
}
static int _devm_regulator_get_enable(struct device *dev, const char *id,
- int get_type)
+ enum regulator_get_type get_type)
{
struct regulator *r;
int ret;
#if IS_ENABLED(CONFIG_OF)
static struct regulator *_devm_of_regulator_get(struct device *dev, struct device_node *node,
- const char *id, int get_type)
+ const char *id, enum regulator_get_type get_type)
{
struct regulator **ptr, *regulator;