Re: [PATCH 1/2 V2] dmaengine/dma_slave: introduce inline wrappers

From: Linus Walleij
Date: Tue Mar 13 2012 - 04:48:44 EST


On Thu, Mar 8, 2012 at 10:11 PM, Alexandre Bounine
<alexandre.bounine@xxxxxxx> wrote:

> Add inline wrappers for device_prep_slave_sg() and device_prep_dma_cyclic()
> interfaces to hide new parameter from current users of affected interfaces.
> Convert current users to use new wrappers instead of direct calls.
> Suggested by Russell King [https://lkml.org/lkml/2012/2/3/269].
>
> Signed-off-by: Alexandre Bounine <alexandre.bounine@xxxxxxx>

Looks like a good idea to me:
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

Thanks,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/