diff options
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | 2012-07-18 13:17:23 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-18 21:13:53 (GMT) |
commit | 463351194d826af7ae97fff0ed6f0fe2a4fed615 (patch) | |
tree | 664b633aedecd6acdbb62e163436157bccb18452 /drivers | |
parent | 1044c180de4ba426aa5fb1b4b13b5f219ddb7105 (diff) | |
download | linux-fsl-qoriq-463351194d826af7ae97fff0ed6f0fe2a4fed615.tar.xz |
regmap: Fix incorrect arguments to kzalloc() call
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/regmap/regmap-mmio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/regmap/regmap-mmio.c b/drivers/base/regmap/regmap-mmio.c index d64a7fc..f05fc74 100644 --- a/drivers/base/regmap/regmap-mmio.c +++ b/drivers/base/regmap/regmap-mmio.c @@ -172,7 +172,7 @@ static struct regmap_mmio_context *regmap_mmio_gen_context(void __iomem *regs, return ERR_PTR(-EINVAL); } - ctx = kzalloc(GFP_KERNEL, sizeof(*ctx)); + ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); if (!ctx) return ERR_PTR(-ENOMEM); |