MFD: ucb1x00-core: scan drivers in same order they're registered
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Jan 2012 15:35:01 +0000 (15:35 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 18 Feb 2012 23:15:35 +0000 (23:15 +0000)
commit65b539bb900f64b9a3f9b761bf0f735dc84e6b70
tree5a58bfe05f04f6383edcbced0f1993e76a40bcab
parent7655b2ac9ed3206fb916357b8b1065f08324507d
MFD: ucb1x00-core: scan drivers in same order they're registered

Cosmetic patch to scan the list of drivers in the order that the drivers
are registered, rather than the reverse order.  This avoids surprises
when drivers get probed in the reverse order, and input devices get
registered in a different order due to bind/unbind than from boot.

Acked-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mfd/ucb1x00-core.c