Home
last modified time | relevance | path

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

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