Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: perf: use named initializers for struct miscdevice

Though struct miscdevice has hardly changed over the years, this is good
practice and also makes the core more readable.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@igalia.com>
Signed-off-by: Helge Deller <deller@gmx.de>

authored by

Thadeu Lima de Souza Cascardo and committed by
Helge Deller
9feb82ba b8999817

+3 -3
+3 -3
arch/parisc/kernel/perf.c
··· 475 475 }; 476 476 477 477 static struct miscdevice perf_dev = { 478 - MISC_DYNAMIC_MINOR, 479 - PA_PERF_DEV, 480 - &perf_fops 478 + .minor = MISC_DYNAMIC_MINOR, 479 + .name = PA_PERF_DEV, 480 + .fops = &perf_fops, 481 481 }; 482 482 483 483 /*