]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci: Convert sdhci_allocate_bounce_buffer() to return void
authorChunyan Zhang <zhang.chunyan@linaro.org>
Thu, 25 Oct 2018 02:12:36 +0000 (10:12 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 17 Dec 2018 07:26:24 +0000 (08:26 +0100)
commit42c3d199d8747bccf1ba853aaba4331776bb3f3b
tree75d1f7234269a7029ab6374b7b8f685d2d2d68c6
parent3ce415c17faeb2bb8b933e01eb72ffa4db35fdb1
mmc: sdhci: Convert sdhci_allocate_bounce_buffer() to return void

The function sdhci_allocate_bounce_buffer() always return zero at
present, so there's no need to have a return value, that will also make
error path easier.

CC: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chunyan Zhang <zhang.chunyan@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c