regulator: s2mps11: Use array to save pointer to rdev
The number of regulator is known at compile time, use array to save pointer to rdev makes the code simpler. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Showing
想要评论请 注册 或 登录