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>
This commit is contained in:
Thadeu Lima de Souza Cascardo 2025-02-26 15:09:04 -03:00 committed by Helge Deller
parent b899981750
commit 9feb82badf

@ -475,9 +475,9 @@ static const struct file_operations perf_fops = {
};
static struct miscdevice perf_dev = {
MISC_DYNAMIC_MINOR,
PA_PERF_DEV,
&perf_fops
.minor = MISC_DYNAMIC_MINOR,
.name = PA_PERF_DEV,
.fops = &perf_fops,
};
/*