diff options
Diffstat (limited to 'drivers/input/mouse/psmouse-base.c')
-rw-r--r-- | drivers/input/mouse/psmouse-base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c index 0830c6e13ef6..af24313ff5bb 100644 --- a/drivers/input/mouse/psmouse-base.c +++ b/drivers/input/mouse/psmouse-base.c | |||
@@ -913,7 +913,7 @@ static int psmouse_connect(struct serio *serio, struct serio_driver *drv) | |||
913 | psmouse_deactivate(parent); | 913 | psmouse_deactivate(parent); |
914 | } | 914 | } |
915 | 915 | ||
916 | if (!(psmouse = kcalloc(1, sizeof(struct psmouse), GFP_KERNEL))) { | 916 | if (!(psmouse = kzalloc(sizeof(struct psmouse), GFP_KERNEL))) { |
917 | retval = -ENOMEM; | 917 | retval = -ENOMEM; |
918 | goto out; | 918 | goto out; |
919 | } | 919 | } |