]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteedc10f2d07ef70eab77a6ffc7b2461f5eb76520
tree5a58bfe05f04f6383edcbced0f1993e76a40bcab
parent0038a201c326a86bb5430f836025f219918cccbe
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