w1: ds2408: use ARRAY_SIZE instead of hard-coded number
authorJean-Francois Dagenais <jeff.dagenais@gmail.com>
Fri, 15 Mar 2013 18:20:26 +0000 (14:20 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 19:15:02 +0000 (12:15 -0700)
commit1116575d918a7d5fe6d1adf46c5bbdf11dcec51b
treef1bf6af57f6259e55b25eec12a534fc53e202de1
parentaceca2854498de7384ee7b44d8eb7820fd4c7f16
w1: ds2408: use ARRAY_SIZE instead of hard-coded number

Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds2408.c