File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 1616#include <linux/debugfs.h>
1717#include "internals.h"
1818
19- static int intc_irq_xlate_debug (struct seq_file * m , void * priv )
19+ static int intc_irq_xlate_show (struct seq_file * m , void * priv )
2020{
2121 int i ;
2222
@@ -37,17 +37,7 @@ static int intc_irq_xlate_debug(struct seq_file *m, void *priv)
3737 return 0 ;
3838}
3939
40- static int intc_irq_xlate_open (struct inode * inode , struct file * file )
41- {
42- return single_open (file , intc_irq_xlate_debug , inode -> i_private );
43- }
44-
45- static const struct file_operations intc_irq_xlate_fops = {
46- .open = intc_irq_xlate_open ,
47- .read = seq_read ,
48- .llseek = seq_lseek ,
49- .release = single_release ,
50- };
40+ DEFINE_SHOW_ATTRIBUTE (intc_irq_xlate );
5141
5242static int __init intc_irq_xlate_init (void )
5343{
You can’t perform that action at this time.
0 commit comments