Home
last modified time | relevance | path

Searched refs:v_bckp (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gnss/
H A Dubx.c20 struct regulator *v_bckp; member
90 data->v_bckp = devm_regulator_get_optional(&serdev->dev, "v-bckp"); in ubx_probe()
91 if (IS_ERR(data->v_bckp)) { in ubx_probe()
92 ret = PTR_ERR(data->v_bckp); in ubx_probe()
94 data->v_bckp = NULL; in ubx_probe()
99 if (data->v_bckp) { in ubx_probe()
100 ret = regulator_enable(data->v_bckp); in ubx_probe()
112 if (data->v_bckp) in ubx_probe()
113 regulator_disable(data->v_bckp); in ubx_probe()
126 if (data->v_bckp) in ubx_remove()
[all …]