commit | 78566afd8647654b2fb11c3ae13b3d8fe96a8cfe | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | Tue Nov 20 13:46:19 2012 +0900 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Tue Nov 20 12:46:45 2012 +0100 |
tree | e70a352cd9ae7ead027da18f49a1340c9dacbe08 | |
parent | 944b058258da8a40c13300f374dbfc2617a9190d [diff] |
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 <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>