Al Viro
70ef457dc9
scsi: bury ->proc_info()
...
all users converted to ->show_info()/->write_info()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:29 -04:00
Al Viro
d89537e1b1
atari_scsi: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:29 -04:00
Al Viro
f0002e95a4
aix7xxx_old: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:28 -04:00
Al Viro
3f02567750
sata_svw: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:28 -04:00
Al Viro
1bb7109a1c
ips: fix format bugs exposed by previous commit
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:27 -04:00
Al Viro
aacce706fa
ips: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:27 -04:00
Al Viro
56b8e8e535
acornscsi: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:27 -04:00
Al Viro
9d4e5c54a3
fas216: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:26 -04:00
Al Viro
6b3a8bbfd1
aic7xxx: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:26 -04:00
Al Viro
f6f83a6c92
aic79xx: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:25 -04:00
Al Viro
887fc88e63
in2000: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:25 -04:00
Al Viro
d773e42213
atp870u: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:24 -04:00
Al Viro
d32812ae4b
dc395x: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:24 -04:00
Al Viro
ff98f7ce0e
dpt_i2o: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:24 -04:00
Al Viro
8c98654456
eata_pio: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:23 -04:00
Al Viro
e633c1e557
aha1740: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:23 -04:00
Al Viro
275084cbff
aha152x: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:22 -04:00
Al Viro
31491e1ac4
advansys: fix buggered formats - unsigned long != u32 on 64bit
...
asc_prt_line() had been hiding several places where formats had not
matched the argument types. The previous commit has finally made them
visible...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:22 -04:00
Al Viro
b59fb6fdce
advansys: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:21 -04:00
Al Viro
63fd57cb5c
nsp_cs: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:21 -04:00
Al Viro
35c6e0e512
nsp32: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:21 -04:00
Al Viro
60e8b807a6
keucr: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:20 -04:00
Al Viro
38c19ec9f7
rts5139: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:20 -04:00
Al Viro
8946b077ca
tcm: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:19 -04:00
Al Viro
e88b7bb002
cciss: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:19 -04:00
Al Viro
25daa96f2b
BusLogic: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:19 -04:00
Al Viro
c8ed555aba
scsi_debug: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:18 -04:00
Al Viro
cac197031c
fusion: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:18 -04:00
Al Viro
09dae7fc57
usb-storage: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:17 -04:00
Al Viro
dd7ab71bb3
NCR5830: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:17 -04:00
Al Viro
b7654914bb
ppa: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:17 -04:00
Al Viro
fa5fd36820
imm: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:16 -04:00
Al Viro
3e0552eebd
gdth: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:16 -04:00
Al Viro
408bb25ba5
switch wd33c93 to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:15 -04:00
Al Viro
cab29b99df
wd7000: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:15 -04:00
Al Viro
ee127fec44
sym53c8xx_2: switch to ->show_info()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:15 -04:00
Al Viro
0ffddfbb83
scsi: saner replacements for ->proc_info()
...
It's still an obsolete interface; don't introduce those in new drivers.
However, it's saner than the ->proc_info() and commits after this one
will convert the existing ->proc_info() users to it.
The read side is ->show_info(seq_file *, struct Scsi_Host *); use
seq_... for generating contents.
The write side is ->write_info(struct Scsi_Host *, char *, int).
Again, this is driven by procfs needs; we are going to kill ->write_proc()
and ->read_proc() and this is the main obstacle to burying that piece of
shit.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:14 -04:00
Al Viro
b6cdc73103
procfs: don't allow to use proc_create, create_proc_entry, etc. for directories
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:14 -04:00
Al Viro
21ba37c9cf
i2o: use proc_remove_subtree()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:13 -04:00
Al Viro
685e55eb51
silicom: bury bp_proc.c
...
It's a seriously rotten copy of parts of bp_mod.c; had been
ifdefed out all along, lacks a bunch of declarations that would
be needed if ifdef had been removed, all stuff in it is duplicated
in bp_mod.c anyway...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:13 -04:00
Al Viro
a01b0c576d
silicom: switch to create_proc_data(), clean procfs side of things up
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:12 -04:00
Al Viro
121daf5f8b
reiserfs: use proc_remove_subtree()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:12 -04:00
Al Viro
bdcecec324
silicom: untangle module_init
...
Helper functions are often useful. So are local variables...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:12 -04:00
Al Viro
f1b68d4ba4
silicom: get_bypass_slave_pfs() open-codes lookup_port()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:11 -04:00
Al Viro
fb8004d39b
silicom: unobfuscate get_{status,master}_port_fn()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:11 -04:00
Al Viro
7e1be8a501
silicom: helper functions are often useful...
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:10 -04:00
Al Viro
e784788ddb
get rid of a bunch of open-coded create_proc_read_entry()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:10 -04:00
Al Viro
96e7d9158f
isp1362-hcd: don't reimplement proc_create_data()
...
... especially in a racy way
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:10 -04:00
Al Viro
5a787a6820
rtl8192u: don't play with reassigning ->proc_fops, just use proc_create()
...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:09 -04:00
Al Viro
895b5599ba
dgrp procfs fixes, part 6: just use proc_create{,_data}
...
->permission() of its own is a rudiment of sysctl imitation;
normal procfs logics will do just fine here, no need to
mess with ->proc_iops at all.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09 14:13:09 -04:00