aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2009-11-16 06:11:48 -0500
committerEric W. Biederman <ebiederm@xmission.com>2009-11-18 11:37:40 -0500
commit6d4561110a3e9fa742aeec6717248a491dfb1878 (patch)
tree689e2abf19940416ce597ba56ed31026ff59bd21 /drivers/macintosh
parent86926d0096279b9739ceeff40f68d3c33b9119a9 (diff)
sysctl: Drop & in front of every proc_handler.
For consistency drop & in front of every proc_handler. Explicity taking the address is unnecessary and it prevents optimizations like stubbing the proc_handlers to NULL. Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Joe Perches <joe@perches.com> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/mac_hid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/macintosh/mac_hid.c b/drivers/macintosh/mac_hid.c
index 2dd29b42a49e..7b4ef5bb556b 100644
--- a/drivers/macintosh/mac_hid.c
+++ b/drivers/macintosh/mac_hid.c
@@ -31,21 +31,21 @@ static ctl_table mac_hid_files[] = {
31 .data = &mouse_emulate_buttons, 31 .data = &mouse_emulate_buttons,
32 .maxlen = sizeof(int), 32 .maxlen = sizeof(int),
33 .mode = 0644, 33 .mode = 0644,
34 .proc_handler = &proc_dointvec, 34 .proc_handler = proc_dointvec,
35 }, 35 },
36 { 36 {
37 .procname = "mouse_button2_keycode", 37 .procname = "mouse_button2_keycode",
38 .data = &mouse_button2_keycode, 38 .data = &mouse_button2_keycode,
39 .maxlen = sizeof(int), 39 .maxlen = sizeof(int),
40 .mode = 0644, 40 .mode = 0644,
41 .proc_handler = &proc_dointvec, 41 .proc_handler = proc_dointvec,
42 }, 42 },
43 { 43 {
44 .procname = "mouse_button3_keycode", 44 .procname = "mouse_button3_keycode",
45 .data = &mouse_button3_keycode, 45 .data = &mouse_button3_keycode,
46 .maxlen = sizeof(int), 46 .maxlen = sizeof(int),
47 .mode = 0644, 47 .mode = 0644,
48 .proc_handler = &proc_dointvec, 48 .proc_handler = proc_dointvec,
49 }, 49 },
50 { } 50 { }
51}; 51};