regulator: Fix the s5m8767a problem of the division by null
If ramp_delay is 0, delay value can be divided by zero. This patch can fix the problem. Signed-off-by: NSangbeom Kim <sbkim73@samsung.com> Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
Showing
想要评论请 注册 或 登录