Make ISDN CAPI use seq_list_xxx helpers
authorPavel Emelianov <xemul@sw.ru>
Tue, 17 Jul 2007 11:04:18 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:05 +0000 (10:23 -0700)
commit2b7c30292af56e64feaecdbe97da57918927b730
treecf160a7dee6f18335b029ae775e4dc8dea5ec424
parent6acee02712d0592dcd6120bc54d77c47cd2f6059
Make ISDN CAPI use seq_list_xxx helpers

The similar code exists here and is called capi_driver_get_idx().  Use generic
helpers now and remember to convert list_head to struct capi_driver in .show
callback.

Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/capi/kcapi_proc.c