From: Himangi Saraogi Date: Mon, 16 Jun 2014 20:12:24 +0000 (+0530) Subject: tile: use ARRAY_SIZE X-Git-Tag: fixes-for-v3.18-merge-window~20^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=367b9380b1717dc53ea7e1f05da58c99e0ae54a3;p=pandora-kernel.git tile: use ARRAY_SIZE ARRAY_SIZE is more concise to use when the size of an array is divided by the size of its type or the size of its first element. The semantic patch that makes this change is as follows: // @i@ @@ @@ type T; T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) // Signed-off-by: Himangi Saraogi Acked-by: Julia Lawall Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed