]> git.karo-electronics.de Git - linux-beck.git/commit
regmap: Fix kcalloc parameters swapped
authorAxel Lin <axel.lin@gmail.com>
Fri, 10 Feb 2012 11:29:55 +0000 (19:29 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 10 Feb 2012 11:46:14 +0000 (11:46 +0000)
commit2a14d7d9b7439fe62082a60a7f8983ccb463d134
tree5a49db57fb6856e92f824870efb8e258e70729e6
parent8a892d6996b60c822f19ad1844eb15b96ce393c7
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>
drivers/base/regmap/regmap.c