git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
input
/
power.c
diff --git
a/drivers/input/power.c
b/drivers/input/power.c
index
bfc5c63
..
526e607
100644
(file)
--- a/
drivers/input/power.c
+++ b/
drivers/input/power.c
@@
-103,9
+103,8
@@
static struct input_handle *power_connect(struct input_handler *handler,
{
struct input_handle *handle;
{
struct input_handle *handle;
- if (!(handle = k
m
alloc(sizeof(struct input_handle), GFP_KERNEL)))
+ if (!(handle = k
z
alloc(sizeof(struct input_handle), GFP_KERNEL)))
return NULL;
return NULL;
- memset(handle, 0, sizeof(struct input_handle));
handle->dev = dev;
handle->handler = handler;
handle->dev = dev;
handle->handler = handler;