linux-stable/drivers/isdn/mISDN
Julia Lawall fd568fc3fe drivers/isdn/mISDN: use ARRAY_SIZE
ARRAY_SIZE is more concise to use when the size of an array is divided by
the size of its type or the size of its first element.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@i@
@@

#include <linux/kernel.h>

@depends on i using "paren.iso"@
type T;
T[] E;
@@

- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-03 20:59:57 -08:00
..
core.c
core.h
dsp.h
dsp_audio.c
dsp_biquad.h
dsp_blowfish.c
dsp_cmx.c mISDN/dsp_cmx.c: fix size checks 2008-10-13 18:42:55 -07:00
dsp_core.c
dsp_dtmf.c
dsp_ecdis.h
dsp_hwec.c drivers/isdn/mISDN: use ARRAY_SIZE 2008-12-03 20:59:57 -08:00
dsp_hwec.h
dsp_pipeline.c
dsp_tones.c
fsm.c
fsm.h
hwchannel.c
Kconfig Add layer1 over IP support 2008-07-27 02:02:10 +02:00
l1oip.h Add layer1 over IP support 2008-07-27 02:02:10 +02:00
l1oip_codec.c Add layer1 over IP support 2008-07-27 02:02:10 +02:00
l1oip_core.c mISDN cleanup user interface 2008-08-02 16:28:50 +02:00
layer1.c
layer1.h
layer2.c Fix namespace issue with Hisax 2008-07-27 18:32:50 +02:00
layer2.h Fix namespace issue with Hisax 2008-07-27 18:32:50 +02:00
Makefile Add layer1 over IP support 2008-07-27 02:02:10 +02:00
socket.c mISDN cleanup user interface 2008-08-02 16:28:50 +02:00
stack.c
tei.c Fix namespace issue with Hisax 2008-07-27 18:32:50 +02:00
timerdev.c misdn: use nonseekable_open() 2008-10-13 18:42:07 -07:00