OSDN Git Service

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)
commita68dd9a008e190420f8d44df5c1ba9650fc341f8
tree75d1f7234269a7029ab6374b7b8f685d2d2d68c6
parentbb16956e239e8d859b18a008e783550d6200aa7c
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