summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-bfin5xx.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2017-02-07 22:34:06 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-14 09:10:54 +0100
commit3d45c86f92be4cd22b4d2332a5cc280e20efedc6 (patch)
treefb97a6d8e30e7e99d5d386e9ea5e7d361c57482a /drivers/spi/spi-bfin5xx.c
parenta4c38c8dba98643602ae08c0867425b20a3c204b (diff)
downloadlinux-3d45c86f92be4cd22b4d2332a5cc280e20efedc6.tar.bz2
mmc: meson-gx: minor improvements in meson_mmc_set_ios
val isn't used in the switch clause and afterwards there's an identical statement. So remove it. In case of an unexpected bus width the error message indicates the intention to set the bus width to 4 and to go on. So remove the return statement. This return statement also conflicts with "setting to 4" because nothing would be set actually before returning. 4bit bus width are chosen as default as the vendor driver does it too. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Acked-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/spi/spi-bfin5xx.c')
0 files changed, 0 insertions, 0 deletions