Skip to content
Snippets Groups Projects
Commit b0ed9461 authored by Ruchira Ravoori's avatar Ruchira Ravoori Committed by CQ bot account: commit-bot@chromium.org
Browse files

[mtk-power] Convert to use unique_ptr

Using std::optional for MtkRegulator was not the right choice as I need
to implement pure virtual functions for child classes of MtkRegulator.
Along with that this change also implements GetSupportedVoltageRange.

Test: runtests -t mtk-power-test

Change-Id: Ieec2c7fe08361cf05215e3c2e0cae4182e4ef188
parent 3f9b8153
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment