diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-07-02 18:15:43 +0800 |
---|---|---|
committer | Bryan Wu <bryan.wu@canonical.com> | 2012-07-24 07:52:35 +0800 |
commit | b523cfe61b097a45f4e919e8c3b6da239962b3e9 (patch) | |
tree | 3224236922fc03822286579ce7fcf665d44e7d08 /drivers/leds/leds-mc13783.c | |
parent | 5391dd0a9d084633e20e6583cfed233581c452f9 (diff) | |
download | talos-obmc-linux-b523cfe61b097a45f4e919e8c3b6da239962b3e9.tar.gz talos-obmc-linux-b523cfe61b097a45f4e919e8c3b6da239962b3e9.zip |
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>
Diffstat (limited to 'drivers/leds/leds-mc13783.c')
0 files changed, 0 insertions, 0 deletions