diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2017-09-20 10:24:02 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-09-21 20:23:38 +0300 |
commit | 8f3b00347bf075fb457f90ce76573615f567e7bc (patch) | |
tree | 915fc32bcc39cd8d9472d256b5ab919cee063925 /drivers/spi/spi-fsl-lib.c | |
parent | 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff) | |
download | linux-8f3b00347bf075fb457f90ce76573615f567e7bc.tar.xz |
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/spi/spi-fsl-lib.c')
0 files changed, 0 insertions, 0 deletions