[PATCH] dmaengine: sun6i: sun4i-gpadc: use of_device_get_match_data
maxime.ripard at free-electrons.com
Tue Sep 19 23:58:14 PDT 2017
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 at gmail.com>
The prefix of your commit title is wrong, this isn't about the GPADC.
Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 801 bytes
Desc: not available
More information about the linux-arm-kernel