diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/ia64/kernel/palinfo.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/ia64/kernel/palinfo.c')
| -rw-r--r-- | arch/ia64/kernel/palinfo.c | 16 | 
1 files changed, 2 insertions, 14 deletions
| diff --git a/arch/ia64/kernel/palinfo.c b/arch/ia64/kernel/palinfo.c index b6e597860888..f4a94241265c 100644 --- a/arch/ia64/kernel/palinfo.c +++ b/arch/ia64/kernel/palinfo.c @@ -920,18 +920,6 @@ static int proc_palinfo_show(struct seq_file *m, void *v)  	return 0;  } -static int proc_palinfo_open(struct inode *inode, struct file *file) -{ -	return single_open(file, proc_palinfo_show, PDE_DATA(inode)); -} - -static const struct file_operations proc_palinfo_fops = { -	.open		= proc_palinfo_open, -	.read		= seq_read, -	.llseek		= seq_lseek, -	.release	= single_release, -}; -  static int palinfo_add_proc(unsigned int cpu)  {  	pal_func_cpu_u_t f; @@ -948,8 +936,8 @@ static int palinfo_add_proc(unsigned int cpu)  	for (j=0; j < NR_PALINFO_ENTRIES; j++) {  		f.func_id = j; -		proc_create_data(palinfo_entries[j].name, 0, cpu_dir, -				 &proc_palinfo_fops, (void *)f.value); +		proc_create_single_data(palinfo_entries[j].name, 0, cpu_dir, +				proc_palinfo_show, (void *)f.value);  	}  	return 0;  } |