commit | b523cfe61b097a45f4e919e8c3b6da239962b3e9 | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Mon Jul 02 18:15:43 2012 +0800 |
committer | Bryan Wu <bryan.wu@canonical.com> | Tue Jul 24 07:52:35 2012 +0800 |
tree | 3224236922fc03822286579ce7fcf665d44e7d08 | |
parent | 5391dd0a9d084633e20e6583cfed233581c452f9 [diff] |
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: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>