Staging: otus: use ARRAY_SIZE
authorKulikov Vasiliy <segooon@gmail.com>
Mon, 28 Jun 2010 11:55:24 +0000 (15:55 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Jul 2010 20:30:42 +0000 (13:30 -0700)
commitf53a7e3abc47774abd109a361da48f85d36c9672
tree98501fc62732721e15d5b9ff4fc0eeb3f7fe60e1
parentc8b8857e7a0bdb6d1e45406d5f90bd74a4fd84d6
Staging: otus: use ARRAY_SIZE

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

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/otus/hal/hpreg.c