]> git.kernelconcepts.de Git - mv-sheeva.git/commit
pnpbios: convert to seq_file
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 16 Dec 2009 00:46:47 +0000 (16:46 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 16 Dec 2009 15:20:05 +0000 (07:20 -0800)
commit5116fa2b3a0a3ec625a10445ae45667f094c125b
tree78981f73d8db331915f80ba68f65ece523521245
parentd52f235f17a588c132a2aaf1e7fc49bb5707fe36
pnpbios: convert to seq_file

Convert code away from ->read_proc/->write_proc interfaces.  Switch to
proc_create()/proc_create_data() which make addition of proc entries
reliable wrt NULL ->proc_fops, NULL ->data and so on.

Problem with ->read_proc et al is described here commit
786d7e1612f0b0adb6046f19b906609e4fe8b1ba "Fix rmmod/read/write races in
/proc entries"

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Adam Belay <abelay@mit.edu>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/pnpbios/proc.c