commit | 91cfe7e73b484703baf353d3915823210a417d77 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Thu Feb 06 10:52:21 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Thu Feb 06 12:52:58 2014 +0000 |
tree | 24d35edf7e4e97e3e6b5dc6257fff6e99d013892 | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 [diff] |
spi: davinci: Remove unneeded NULL checking for dspi and dspi->bitbang.master spi_master_get_devdata() never returns NULL when spi_alloc_master() success, so remove NULL test for dspi. We have ensured master is not NULL before assigning it to dspi->bitbang.master. So also remove NULL test for dspi->bitbang.master. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>