From: Devendra Naga Date: Mon, 2 Jul 2012 10:15:43 +0000 (+0800) Subject: leds-88pm860x: use devm_kzalloc function X-Git-Tag: v3.6-rc1~76^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b523cfe61b097a45f4e919e8c3b6da239962b3e9;p=pandora-kernel.git 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 Signed-off-by: Bryan Wu --- Reading git-diff-tree failed