Commit 9feb82ba authored by Thadeu Lima de Souza Cascardo's avatar Thadeu Lima de Souza Cascardo Committed by Helge Deller
Browse files

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: default avatarThadeu Lima de Souza Cascardo <cascardo@igalia.com>
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent b8999817
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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,
};

/*