spi/qspi: parse register by name.
authorSourav Poddar <sourav.poddar@ti.com>
Fri, 6 Dec 2013 14:24:43 +0000 (19:54 +0530)
committerMark Brown <broonie@linaro.org>
Thu, 19 Dec 2013 13:33:43 +0000 (13:33 +0000)
commit6b3938aed04587dab42f9df83122a40c596f495a
tree5ced50df6e0cf1c74be125702d78902e4169a1de
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi/qspi: parse register by name.

Modify the qspi driver to parse reg information by name.
If "reg names" is not found, then revert back to normal
get resource.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ti-qspi.c