git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] getting rid of all casts of k[cmz]alloc() calls
[pandora-kernel.git]
/
drivers
/
video
/
matrox
/
i2c-matroxfb.c
diff --git
a/drivers/video/matrox/i2c-matroxfb.c
b/drivers/video/matrox/i2c-matroxfb.c
index
797b423
..
fe28848
100644
(file)
--- a/
drivers/video/matrox/i2c-matroxfb.c
+++ b/
drivers/video/matrox/i2c-matroxfb.c
@@
-146,7
+146,7
@@
static void* i2c_matroxfb_probe(struct matrox_fb_info* minfo) {
unsigned long flags;
struct matroxfb_dh_maven_info* m2info;
- m2info =
(struct matroxfb_dh_maven_info*)
kmalloc(sizeof(*m2info), GFP_KERNEL);
+ m2info = kmalloc(sizeof(*m2info), GFP_KERNEL);
if (!m2info)
return NULL;