]> git.baikalelectronics.ru Git - kernel.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)
commite0631c073b90a9566cdfc3fd460fb62cb8c5aee2
tree78981f73d8db331915f80ba68f65ece523521245
parentc13f3791ac3f7d2739164f442e941c25994f52ba
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
9fa8363613a82d2170aefe3e79b806081a78e2ff "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