]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: rockchip: rk805: Use a tailq for the attached regulator
authormanu <manu@FreeBSD.org>
Sat, 25 Apr 2020 15:34:48 +0000 (15:34 +0000)
committermanu <manu@FreeBSD.org>
Sat, 25 Apr 2020 15:34:48 +0000 (15:34 +0000)
commit1bb1283aafd8646b295cba06c0eb4936d20a8668
treea7ba65fcc7e810082086d31928a828fd0d86bd65
parentfe223e0b0792db4383b542b22d71e7798be764ff
arm64: rockchip: rk805: Use a tailq for the attached regulator

Store the attached regulator in a tailq to later find them in ofw_map.
While here, do not attempt to attach a regulator without a name, a node
might exists but if it doesn't have a name the regulator is unused.

MFC after: 1 month
sys/arm64/rockchip/rk805.c