proc_fops: convert drivers/isdn/ to seq_file
authorAlexey Dobriyan <adobriyan@gmail.com>
Thu, 14 Jan 2010 11:10:54 +0000 (03:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jan 2010 11:10:54 +0000 (03:10 -0800)
commit9a58a80a701bdb2d220cdab4914218df5b48d781
tree01eeb65ec70f22ec326d0938d002cc6a2aec73e8
parent508e14b4a4fb1a824a14f2c5b8d7df67b313f8e4
proc_fops: convert drivers/isdn/ 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"

[akpm@linux-foundation.org: CONFIG_PROC_FS=n build fix]
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: Karsten Keil <keil@b1-systems.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 files changed:
Documentation/isdn/INTERFACE.CAPI
drivers/isdn/capi/capi.c
drivers/isdn/capi/capidrv.c
drivers/isdn/capi/kcapi.c
drivers/isdn/gigaset/capi.c
drivers/isdn/hardware/avm/avmcard.h
drivers/isdn/hardware/avm/b1.c
drivers/isdn/hardware/avm/b1dma.c
drivers/isdn/hardware/avm/b1isa.c
drivers/isdn/hardware/avm/b1pci.c
drivers/isdn/hardware/avm/b1pcmcia.c
drivers/isdn/hardware/avm/c4.c
drivers/isdn/hardware/avm/t1isa.c
drivers/isdn/hardware/avm/t1pci.c
drivers/isdn/hardware/eicon/capimain.c
drivers/isdn/hardware/eicon/diva_didd.c
drivers/isdn/hardware/eicon/divasi.c
drivers/isdn/hardware/eicon/divasproc.c
drivers/isdn/hysdn/hycapi.c
include/linux/isdn/capilli.h
net/bluetooth/cmtp/capi.c