summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-mc13783.c
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-07-02 18:15:43 +0800
committerBryan Wu <bryan.wu@canonical.com>2012-07-24 07:52:35 +0800
commitb523cfe61b097a45f4e919e8c3b6da239962b3e9 (patch)
tree3224236922fc03822286579ce7fcf665d44e7d08 /drivers/leds/leds-mc13783.c
parent5391dd0a9d084633e20e6583cfed233581c452f9 (diff)
downloadtalos-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
OpenPOWER on IntegriCloud