regmap: Fix kcalloc parameters swapped
authorAxel Lin <axel.lin@gmail.com>
Fri, 10 Feb 2012 11:29:55 +0000 (19:29 +0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Wed, 21 Mar 2012 05:31:35 +0000 (22:31 -0700)
commitb8174df465cd4042f5cd1f8ef623d54f88360077
tree4759583626e91fe157a6ec42dffd6d70896ff869
parentc0d49b5ba5a34cdda7746b3c5974009e266271e2
regmap: Fix kcalloc parameters swapped

The first parameter should be "number of elements" and the second parameter
should be "element size".

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit 2a14d7d9b7439fe62082a60a7f8983ccb463d134)

Change-Id: Ibe00000c7c6db1b36e5530e00713cdb434052f0a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/87589

Rebase-Id: Rde2abed5d0d5726e0f220e1f14a24f5a417340c0
drivers/base/regmap/regmap.c