commit | 0adfd7335b622ca3cac94810487db470f57892fc | [log] [tgz] |
---|---|---|
author | Marc Kleine-Budde <mkl@pengutronix.de> | Tue Jan 27 16:58:17 2015 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Wed Jan 28 14:47:05 2015 +0100 |
tree | 8bd7fa74f023a7a0429b422a4034b470347285d8 | |
parent | f5d4abea3ce0747ba2b5061dbc99c6f3149c4ba4 [diff] |
can: peak_usb: use ARRAY_SIZE instead of NULL termination for peak_usb_adapters_list This patch converts the list "static struct peak_usb_adapter *peak_usb_adapters_list[]" to be used with ARRAY_SIZE not with a NULL termination, as the size is known during compile time. Acked-by: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>