diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-07-02 12:15:43 +0200 |
---|---|---|
committer | Bryan Wu <bryan.wu@canonical.com> | 2012-07-24 01:52:35 +0200 |
commit | b523cfe61b097a45f4e919e8c3b6da239962b3e9 (patch) | |
tree | 3224236922fc03822286579ce7fcf665d44e7d08 /drivers/leds/leds-net48xx.c | |
parent | leds-lp5523: BUG() in error handling in probe() (diff) | |
download | linux-b523cfe61b097a45f4e919e8c3b6da239962b3e9.tar.xz 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-net48xx.c')
0 files changed, 0 insertions, 0 deletions