]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: nbpfaxi: Use of_device_get_match_data() helper
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 4 Oct 2017 12:15:23 +0000 (14:15 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 12 Oct 2017 16:50:51 +0000 (22:20 +0530)
commita8d8ebf445328759068b794ba1205d331bccf4e9
tree3561390769ec01a0f57780954c70ed5d7cd4fffb
parent98dbe683b69ebcfa54d5b55f958aba892a3f18ba
dmaengine: nbpfaxi: Use of_device_get_match_data() helper

Use the of_device_get_match_data() helper instead of open coding.
Note that when used with DT, there's always a valid match.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/nbpfaxi.c