aboutsummaryrefslogtreecommitdiffstats
path: root/arch/frv/kernel/pm.c
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 /arch/frv/kernel/pm.c
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 'arch/frv/kernel/pm.c')
-rw-r--r--arch/frv/kernel/pm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/frv/kernel/pm.c b/arch/frv/kernel/pm.c
index 940d8bb486f8..5fa3889d858b 100644
--- a/arch/frv/kernel/pm.c
+++ b/arch/frv/kernel/pm.c
@@ -303,28 +303,28 @@ static struct ctl_table pm_table[] =
303 .data = NULL, 303 .data = NULL,
304 .maxlen = 0, 304 .maxlen = 0,
305 .mode = 0200, 305 .mode = 0200,
306 .proc_handler = &sysctl_pm_do_suspend, 306 .proc_handler = sysctl_pm_do_suspend,
307 }, 307 },
308 { 308 {
309 .procname = "cmode", 309 .procname = "cmode",
310 .data = &clock_cmode_current, 310 .data = &clock_cmode_current,
311 .maxlen = sizeof(int), 311 .maxlen = sizeof(int),
312 .mode = 0644, 312 .mode = 0644,
313 .proc_handler = &cmode_procctl, 313 .proc_handler = cmode_procctl,
314 }, 314 },
315 { 315 {
316 .procname = "p0", 316 .procname = "p0",
317 .data = &clock_p0_current, 317 .data = &clock_p0_current,
318 .maxlen = sizeof(int), 318 .maxlen = sizeof(int),
319 .mode = 0644, 319 .mode = 0644,
320 .proc_handler = &p0_procctl, 320 .proc_handler = p0_procctl,
321 }, 321 },
322 { 322 {
323 .procname = "cm", 323 .procname = "cm",
324 .data = &clock_cm_current, 324 .data = &clock_cm_current,
325 .maxlen = sizeof(int), 325 .maxlen = sizeof(int),
326 .mode = 0644, 326 .mode = 0644,
327 .proc_handler = &cm_procctl, 327 .proc_handler = cm_procctl,
328 }, 328 },
329 { } 329 { }
330}; 330};