sata_mv: Clean up hard coded array size calculation.
authorThiago Farina <tfransosi@gmail.com>
Sun, 8 Nov 2009 19:30:57 +0000 (14:30 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 3 Dec 2009 07:46:34 +0000 (02:46 -0500)
commit4c4a90fd2b9d1f5c0d33df3fcfaa8a3dae9abc53
treedd5a72347ec00a08f2469b560ac9c0d683a3e0d9
parent7095e3eb49869051594b33f6110edd65aff6be50
sata_mv: Clean up hard coded array size calculation.

Use ARRAY_SIZE macro of kernel api instead.

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c