Re: [PATCH 1/2] mfd: arizona: Use correct array for ARRAY_SIZE in mfd_add_devices call

2012-10-25 Thread Mark Brown
On Thu, Oct 25, 2012 at 03:12:44PM +0100, Charles Keepax wrote: > 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.

[PATCH 1/2] mfd: arizona: Use correct array for ARRAY_SIZE in mfd_add_devices call

2012-10-25 Thread Charles Keepax
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 --- drivers/mfd/arizona-core.c |2

[PATCH 1/2] mfd: arizona: Use correct array for ARRAY_SIZE in mfd_add_devices call

2012-10-25 Thread Charles Keepax
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 ckee...@opensource.wolfsonmicro.com ---

Re: [PATCH 1/2] mfd: arizona: Use correct array for ARRAY_SIZE in mfd_add_devices call

2012-10-25 Thread Mark Brown
On Thu, Oct 25, 2012 at 03:12:44PM +0100, Charles Keepax wrote: 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.