projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] i2c: Remove duplicate rtc8564 BCD macros
[powerpc.git]
/
drivers
/
i2c
/
chips
/
tps65010.c
diff --git
a/drivers/i2c/chips/tps65010.c
b/drivers/i2c/chips/tps65010.c
index
280e963
..
280dd7a
100644
(file)
--- a/
drivers/i2c/chips/tps65010.c
+++ b/
drivers/i2c/chips/tps65010.c
@@
-500,11
+500,10
@@
tps65010_probe(struct i2c_adapter *bus, int address, int kind)
return 0;
}
- tps = k
m
alloc(sizeof *tps, GFP_KERNEL);
+ tps = k
z
alloc(sizeof *tps, GFP_KERNEL);
if (!tps)
return 0;
- memset(tps, 0, sizeof *tps);
init_MUTEX(&tps->lock);
INIT_WORK(&tps->work, tps65010_work, tps);
tps->irq = -1;