summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2013-04-14cx25821: sanitize cx25821_openfile_audio() a bit...Al Viro1-68/+28
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-14cx25821: sanitize cx25821_get_audio_data() a bitAl Viro1-58/+25
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09vt6655: slightly clean reading config fileAl Viro1-75/+40
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09vt6656: slightly sanitized reading configAl Viro1-43/+20
Just reading - parsing the results is left alone (and unspeakably lousy). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09pxa3xx-gcu: stop embedding file_operations into device-private objectAl Viro1-7/+8
no need to do that anymore... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09pxa3xx-gcu: quite playing silly buggers with ->f_opAl Viro1-9/+12
misc device gets ->private_data pointing to struct miscdevice on open(), so we can use that to get to per-device structure instead of relying on file_operations being copied into it. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09silicom-bypass: Remove device_open/close()David Howells1-24/+0
Remove device_open/close() functions as they don't really do anything and remove Device_Open as it isn't counted atomically and the value isn't used. Signed-off-by: David Howells <dhowells@redhat.com>
2013-04-09wlags49_h2: Don't use create_proc_entry()David Howells1-11/+0
create_proc_entry() shouldn't be used. Rather proc_create_data() should be used. The proc_write() function is only used by #if'd out code, so delete it for now. Signed-off-by: David Howells <dhowells@redhat.com>
2013-04-09nubus: Don't use create_proc_entry()David Howells1-2/+3
Don't use create_proc_entry() in nubus_proc_subdir(). The files created aren't given any way to use them, so for the moment use create_proc_read_entry() with a NULL accessor and generate a compile-time warning. Signed-off-by: David Howells <dhowells@redhat.com>
2013-04-09constify a bunch of struct file_operations instancesAl Viro9-12/+12
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09procfs: new helper - PDE_DATA(inode)Al Viro57-202/+158
The only part of proc_dir_entry the code outside of fs/proc really cares about is PDE(inode)->data. Provide a helper for that; static inline for now, eventually will be moved to fs/proc, along with the knowledge of struct proc_dir_entry layout. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09bfin_adv7393: switch to proc_create_data()Al Viro1-24/+19
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09rtl8192u: switch to proc_create()Al Viro1-31/+22
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09scsi_proc: make proc_scsi_host_open() preallocate a bigger bufferAl Viro1-1/+2
Some of the ->show_info() instances really spew a lot; it's not a problem wrt correctness (seq_read() will grow buffer and call the sucker again), but in this case it makes sense to start with a somewhat bigger one - they often do exceed one page worth of output. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09scsi: bury ->proc_info()Al Viro1-71/+8
all users converted to ->show_info()/->write_info() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09atari_scsi: switch to ->show_info()Al Viro3-87/+62
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09aix7xxx_old: switch to ->show_info()Al Viro2-163/+60
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09sata_svw: switch to ->show_info()Al Viro1-22/+7
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09ips: fix format bugs exposed by previous commitAl Viro1-3/+3
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09ips: switch to ->show_info()Al Viro2-161/+80
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09acornscsi: switch to ->show_info()Al Viro1-41/+17
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09fas216: switch to ->show_info()Al Viro6-142/+49
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09aic7xxx: switch to ->show_info()Al Viro3-126/+48
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09aic79xx: switch to ->show_info()Al Viro3-131/+53
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09in2000: switch to ->show_info()Al Viro1-106/+72
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09atp870u: switch to ->show_info()Al Viro1-32/+8
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09dc395x: switch to ->show_info()Al Viro1-16/+4
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09dpt_i2o: switch to ->show_info()Al Viro1-90/+12
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09eata_pio: switch to ->show_info()Al Viro1-46/+10
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09aha1740: switch to ->show_info()Al Viro1-24/+5
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09aha152x: switch to ->show_info()Al Viro1-49/+12
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09advansys: fix buggered formats - unsigned long != u32 on 64bitAl Viro1-13/+13
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-09advansys: switch to ->show_info()Al Viro1-837/+327
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09nsp_cs: switch to ->show_info()Al Viro2-38/+7
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09nsp32: switch to ->show_info()Al Viro1-33/+6
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09keucr: switch to ->show_info()Al Viro1-32/+13
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09rts5139: switch to ->show_info()Al Viro2-23/+9
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09tcm: switch to ->show_info()Al Viro1-5/+4
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09cciss: switch to ->show_info()Al Viro1-51/+45
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09BusLogic: switch to ->show_info()Al Viro2-46/+38
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09scsi_debug: switch to ->show_info()Al Viro1-32/+21
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09fusion: switch to ->show_info()Al Viro5-95/+11
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09usb-storage: switch to ->show_info()Al Viro1-28/+14
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09NCR5830: switch to ->show_info()Al Viro13-78/+71
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09ppa: switch to ->show_info()Al Viro1-26/+10
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09imm: switch to ->show_info()Al Viro1-29/+11
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09gdth: switch to ->show_info()Al Viro4-170/+52
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09switch wd33c93 to ->show_info()Al Viro6-115/+94
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09wd7000: switch to ->show_info()Al Viro1-23/+8
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-04-09sym53c8xx_2: switch to ->show_info()Al Viro1-94/+21
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>