Re: [PATCH] dmaengine: sun6i: sun4i-gpadc: use of_device_get_match_data

From: Maxime Ripard
Date: Wed Sep 20 2017 - 02:58:20 EST


On Tue, Sep 19, 2017 at 06:44:47PM +0000, Corentin Labbe wrote:
> The usage of of_device_get_match_data reduce the code size a bit.
> Furthermore, it prevents an improbable dereference when
> of_match_device() return NULL.
> Signed-off-by: Corentin Labbe <clabbe.montjoie@xxxxxxxxx>

The prefix of your commit title is wrong, this isn't about the GPADC.

Once fixed,
Acked-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>


Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering

Attachment: signature.asc
Description: PGP signature