Skip to content
Commit b523cfe6 authored by Devendra Naga's avatar Devendra Naga Committed by Bryan Wu
Browse files

leds-88pm860x: use devm_kzalloc function



Using devm_kzalloc will remove all the error checks and the frees are automatically done at the driver unload side.

Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@canonical.com>
parent 5391dd0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment