summaryrefslogtreecommitdiffstats
path: root/drivers/input/sparse-keymap.c
diff options
context:
space:
mode:
authorBaodong Chen <chenbdchenbd@gmail.com>2012-07-30 07:33:03 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-08-22 07:29:49 +0200
commit41091ad0b8f843d36390058362c8f3c52a26a333 (patch)
treed815c4202c6ae189cdd881228580451e4aec6e22 /drivers/input/sparse-keymap.c
parentInput: twl4030-pwrbutton - report a wakeup_event on button press (diff)
downloadlinux-41091ad0b8f843d36390058362c8f3c52a26a333.tar.xz
linux-41091ad0b8f843d36390058362c8f3c52a26a333.zip
Input: random formatting fixes
Fixes for some coding style issues reported by scripts/checkpatch.pl utility. Signed-off-by: Baodong Chen <chenbdchenbd@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/sparse-keymap.c')
-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];