aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/input/sparse-keymap.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-01 14:20:58 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-10-01 14:20:58 -0700
commitdde3ada3d0069855eeb353707b2b0f946191cfd6 (patch)
treebdc2d358f8dc7fc29000149ebc4db949934b15b2 /drivers/input/sparse-keymap.c
parentInput: wacom - mark Intuos5 pad as in-prox when touching buttons (diff)
parentInput: hgpk - use %*ph to dump small buffer (diff)
downloadwireguard-linux-dde3ada3d0069855eeb353707b2b0f946191cfd6.tar.xz
wireguard-linux-dde3ada3d0069855eeb353707b2b0f946191cfd6.zip
Merge branch 'next' into for-linus
Prepare first set of updates for 3.7 merge window.
Diffstat (limited to '')
-rw-r--r--drivers/input/sparse-keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/sparse-keymap.c b/drivers/input/sparse-keymap.c
index 75fb040a3435..a70aa555bbff 100644
--- a/drivers/input/sparse-keymap.c
+++ b/drivers/input/sparse-keymap.c
@@ -180,11 +180,11 @@ int sparse_keymap_setup(struct input_dev *dev,
for (e = keymap; e->type != KE_END; e++)
map_size++;
- map = kcalloc(map_size, sizeof (struct key_entry), GFP_KERNEL);
+ map = kcalloc(map_size, sizeof(struct key_entry), GFP_KERNEL);
if (!map)
return -ENOMEM;
- memcpy(map, keymap, map_size * sizeof (struct key_entry));
+ memcpy(map, keymap, map_size * sizeof(struct key_entry));
for (i = 0; i < map_size; i++) {
entry = &map[i];