Staging: winbond: use ARRAY_SIZE
commite8ba4d5d2ac27b1b161250e78b4ebce1646d18e2
authorKulikov Vasiliy <segooon@gmail.com>
Mon, 28 Jun 2010 11:55:37 +0000 (28 15:55 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 20:30:43 +0000 (8 13:30 -0700)
tree9c45eb03d90d837dfc7838eed075a4a1c614d689
parentf079bc30211ba5f08d8bab512ceaa6d3e881f4ec
Staging: winbond: use ARRAY_SIZE

Change sizeof(x) / sizeof(*x) to ARRAY_SIZE(x).

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/winbond/reg.c