[RFC PATCH 4/7] DMA: tegra-apb: Add a function table for functions dealing with registers

2015-08-18 Thread Jon Hunter
In preparation for adding the Tegra210 ADMA driver, add a function table for calling functions that access hardware registers. This way code that is common between the Tegra20-APB DMA and Tegra210 DMA driver can be moved into a separate source file and used by both DMA drivers. Note that all

[RFC PATCH 4/7] DMA: tegra-apb: Add a function table for functions dealing with registers

2015-08-18 Thread Jon Hunter
In preparation for adding the Tegra210 ADMA driver, add a function table for calling functions that access hardware registers. This way code that is common between the Tegra20-APB DMA and Tegra210 DMA driver can be moved into a separate source file and used by both DMA drivers. Note that all