leds: Use devm_kzalloc in leds-regulator.c file
devm_kzalloc() makes cleanup simpler. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NBryan Wu <bryan.wu@canonical.com>
Showing
想要评论请 注册 或 登录
devm_kzalloc() makes cleanup simpler. Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org> Signed-off-by: NBryan Wu <bryan.wu@canonical.com>