of/spi: Fix OF-style driver binding of spi devices
authorSinan Akman <sinan@writeme.com>
Sun, 3 Oct 2010 03:28:29 +0000 (21:28 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Sun, 3 Oct 2010 03:28:29 +0000 (21:28 -0600)
commit2b7a32f7ecb24d01bd0b2d5097d7c7ebe7082ba7
treee46d95355ecae82f6646684b83269a2dda09036c
parent23699f98f84f20195fddd0263d05a8ccb8694676
of/spi: Fix OF-style driver binding of spi devices

This patch adds the OF hook to the spi core so that devices
can automatically be registered based on device tree data.  This fixes
a problem with spi devices not binding to drivers after the cleanup of
the spi & i2c binding code.

Signed-off-by: Sinan Akman <sinan@writeme.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi.c