From: Sebastian Andrzej Siewior Date: Fri, 19 Nov 2010 17:00:11 +0000 (-0800) Subject: spi/pxa2xx: register driver properly X-Git-Tag: v2.6.38-rc1~454^2~5^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbd29a14af42d374ddce9c16ff5f7805e69c764f;p=pandora-kernel.git spi/pxa2xx: register driver properly 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 Signed-off-by: Dirk Brandewie --- Reading git-diff-tree failed