]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fb: hx8357: Fix inverted parameters for kcalloc
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 20 Feb 2013 02:15:28 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:16 +0000 (16:53 +1100)
commitbcbdb673c3d52e2d85a46462ca1e54fe03e6de5f
tree353bc9f78703e30aef7249c203c78d722ea96817
parent28af9d37a5a25e827949ae174794b14062db416c
fb: hx8357: Fix inverted parameters for kcalloc

The element size and the number of elements was inverted in the kcalloc
call.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/hx8357.c