diff options
| author | Jeff Garzik <jeff@garzik.org> | 2006-04-12 17:52:52 -0400 |
|---|---|---|
| committer | Jeff Garzik <jeff@garzik.org> | 2006-04-12 17:52:52 -0400 |
| commit | 32ea89ecb25789b1b7db28146558587a42f3b372 (patch) | |
| tree | c5b3b33523b353f2eab2d8dcd2b3f069826cdc48 /drivers/input/evbug.c | |
| parent | 58a7ce64426394a46e80cdc9440cc1e7c195e85d (diff) | |
| parent | a145410dccdb44f81d3b56763ef9b6f721f4e47c (diff) | |
Merge branch 'master'
Diffstat (limited to 'drivers/input/evbug.c')
| -rw-r--r-- | drivers/input/evbug.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/evbug.c b/drivers/input/evbug.c index d7828936fd8f..07358fb51b82 100644 --- a/drivers/input/evbug.c +++ b/drivers/input/evbug.c | |||
| @@ -49,9 +49,8 @@ static struct input_handle *evbug_connect(struct input_handler *handler, struct | |||
| 49 | { | 49 | { |
| 50 | struct input_handle *handle; | 50 | struct input_handle *handle; |
| 51 | 51 | ||
| 52 | if (!(handle = kmalloc(sizeof(struct input_handle), GFP_KERNEL))) | 52 | if (!(handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL))) |
| 53 | return NULL; | 53 | return NULL; |
| 54 | memset(handle, 0, sizeof(struct input_handle)); | ||
| 55 | 54 | ||
| 56 | handle->dev = dev; | 55 | handle->dev = dev; |
| 57 | handle->handler = handler; | 56 | handle->handler = handler; |
