regulator: Update code examples in documentation
This involves using the REGULATOR_SUPPLY initializer macro and reindenting some of the code. Signed-off-by: NJonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: NMark Brown <broonie@kernel.org>
Showing
想要评论请 注册 或 登录