]> 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)
commit06b5e1af0af8b49259c0123c7e068212e4e27136
tree5a58bfe05f04f6383edcbced0f1993e76a40bcab
parent78a03b66e4172d6c047f051536cf752396a024b8
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