From: Marc Kleine-Budde Date: Tue, 27 Jan 2015 15:58:17 +0000 (+0100) Subject: can: peak_usb: use ARRAY_SIZE instead of NULL termination for peak_usb_adapters_list X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~99^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0adfd7335b622ca3cac94810487db470f57892fc;p=pandora-kernel.git 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 Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed