Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion drivers/charger/charger_pf1550.c
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ static int pf1550_init(const struct device *dev)
return 0;
}

static const struct charger_driver_api pf1550_driver_api = {
static DEVICE_API(charger, pf1550_driver_api) = {
.get_property = pf1550_get_prop,
.set_property = pf1550_set_prop,
.charge_enable = pf1550_set_enabled,
Expand Down
4 changes: 2 additions & 2 deletions drivers/regulator/regulator_pf1550.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,11 +378,11 @@ static int regulator_pf1550_common_init(const struct device *dev)
return 0;
}

static const struct regulator_parent_driver_api parent_api = {
static DEVICE_API(regulator_parent, parent_api) = {
.ship_mode = regulator_pf1550_power_off,
};

static const struct regulator_driver_api api = {
static DEVICE_API(regulator, api) = {
.enable = regulator_pf1550_enable,
.disable = regulator_pf1550_disable,
.count_voltages = regulator_pf1550_count_voltages,
Expand Down
Loading