mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
pinctrl: sophgo: allocate power_cfg with priv
Use a flexible array member to combine allocations and simplify code slightly. Signed-off-by: Rosen Penev <rosenp@gmail.com> [linusw@kernel.org: add a counter and __counted_by() annotation] Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
parent
13fffbc21e
commit
041e5ea203
1 changed files with 6 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue