diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2017-09-20 09:24:02 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-09-21 19:23:38 +0200 |
commit | 8f3b00347bf075fb457f90ce76573615f567e7bc (patch) | |
tree | 915fc32bcc39cd8d9472d256b5ab919cee063925 /drivers/crypto/picoxcell_crypto.c | |
parent | Linux 4.14-rc1 (diff) | |
download | linux-8f3b00347bf075fb457f90ce76573615f567e7bc.tar.xz linux-8f3b00347bf075fb457f90ce76573615f567e7bc.zip |
dmaengine: sun6i: use of_device_get_match_data
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.
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/crypto/picoxcell_crypto.c')
0 files changed, 0 insertions, 0 deletions