spi/pxa2xx: register driver properly
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 19 Nov 2010 17:00:11 +0000 (09:00 -0800)
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 26 Nov 2010 10:29:02 +0000 (11:29 +0100)
use platform_driver_register instead of platform_driver_probe. The
latter only checks available devices at the time of calling. So if a
device gets inserter at a later point in time then the driver will never
play with it.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>

No differences found