From: Charles Keepax Date: Tue, 20 Nov 2012 04:46:19 +0000 (+0900) Subject: mfd: arizona: Use correct array for ARRAY_SIZE in mfd_add_devices call X-Git-Tag: v3.7-rc8~29^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78566afd8647654b2fb11c3ae13b3d8fe96a8cfe;p=pandora-kernel.git mfd: arizona: Use correct array for ARRAY_SIZE in mfd_add_devices call wm5102_devs array was used for ARRAY_SIZE whilst adding the wm5110 devices. This change corrects this to get the size from the wm5110_devs array. As both arrays are the same size no issues should have been caused by this bug. Signed-off-by: Charles Keepax Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed