spi/omap: Correct the error path
authorShubhrajyoti D <shubhrajyoti@ti.com>
Fri, 28 Oct 2011 11:44:19 +0000 (17:14 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 29 Oct 2011 12:07:18 +0000 (14:07 +0200)
commit39f1b56593293a3d1d3b49b97a59337a19fef053
tree34aad11f73193e7b3104fcc8ce1b2affbb8a76da
parent751c925cbb3a270f9771e3945494cb44bd9e732a
spi/omap: Correct the error path

Currently McSPI driver doesnt follow correct failure fallback steps
attempting to correct the same.

Also:
- label names changed to give meaningful names.
- Setting the driver data to NULL in remove

Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-omap2-mcspi.c