projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1044c18
)
regmap: Fix incorrect arguments to kzalloc() call
author
Dimitris Papastamos
<
[email protected]
>
Wed, 18 Jul 2012 13:17:23 +0000
(14:17 +0100)
committer
Mark Brown
<
[email protected]
>
Wed, 18 Jul 2012 21:13:53 +0000
(22:13 +0100)
Signed-off-by: Dimitris Papastamos <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/base/regmap/regmap-mmio.c
patch
|
blob
|
history
diff --git
a/drivers/base/regmap/regmap-mmio.c
b/drivers/base/regmap/regmap-mmio.c
index d64a7fc71df822f8b53845bab0ba9392a54a28f3..f05fc74dd84a5f46b8cb32ed3943972fffe056e7 100644
(file)
--- 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);