Re: [PATCH] mmc: sdhci: Conver sdhci_allocate_bounce_buffer() to return void

From: Linus Walleij
Date: Thu Oct 25 2018 - 07:18:26 EST


On Wed, Oct 24, 2018 at 9:19 AM Chunyan Zhang <zhang.chunyan@xxxxxxxxxx> wrote:

> 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@xxxxxxxxxx>
> Signed-off-by: Chunyan Zhang <zhang.chunyan@xxxxxxxxxx>

Good catch!
Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Yours,
Linus Walleij