regulator: rt4831: Add missing .owner field in regulator_desc

Add missing .owner field in regulator_desc, which is used for refcounting.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Message-Id: <20210524123735.2363676-1-axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@sirena.org.uk>
This commit is contained in:
Axel Lin 2021-05-24 20:37:35 +08:00 коммит произвёл Mark Brown
Родитель 15413ce566
Коммит 5c42903e14
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 24D68B725D5487D0
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -108,6 +108,7 @@ static const struct regulator_desc rt4831_regulator_descs[] = {
.bypass_reg = RT4831_REG_DSVEN, .bypass_reg = RT4831_REG_DSVEN,
.bypass_val_on = DSV_MODE_BYPASS, .bypass_val_on = DSV_MODE_BYPASS,
.bypass_val_off = DSV_MODE_NORMAL, .bypass_val_off = DSV_MODE_NORMAL,
.owner = THIS_MODULE,
}, },
{ {
.name = "DSVP", .name = "DSVP",
@ -125,6 +126,7 @@ static const struct regulator_desc rt4831_regulator_descs[] = {
.enable_mask = RT4831_POSEN_MASK, .enable_mask = RT4831_POSEN_MASK,
.active_discharge_reg = RT4831_REG_DSVEN, .active_discharge_reg = RT4831_REG_DSVEN,
.active_discharge_mask = RT4831_POSADEN_MASK, .active_discharge_mask = RT4831_POSADEN_MASK,
.owner = THIS_MODULE,
}, },
{ {
.name = "DSVN", .name = "DSVN",
@ -142,6 +144,7 @@ static const struct regulator_desc rt4831_regulator_descs[] = {
.enable_mask = RT4831_NEGEN_MASK, .enable_mask = RT4831_NEGEN_MASK,
.active_discharge_reg = RT4831_REG_DSVEN, .active_discharge_reg = RT4831_REG_DSVEN,
.active_discharge_mask = RT4831_NEGADEN_MASK, .active_discharge_mask = RT4831_NEGADEN_MASK,
.owner = THIS_MODULE,
} }
}; };