]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dma: sirf: use NULL instead of 0
authorJingoo Han <jg1.han@samsung.com>
Tue, 6 Aug 2013 10:37:56 +0000 (19:37 +0900)
committerVinod Koul <vinod.koul@intel.com>
Tue, 13 Aug 2013 11:24:42 +0000 (16:54 +0530)
commit696b4ff8b2e6fd3f01c9acf6687ec4660143b614
tree3c03ac5ad8840825a861edc4d491d76698b7171a
parent4c14372590d0b86476bf2f23b2ce4b93352d14bf
dma: sirf: use NULL instead of 0

sirfsoc_dma_prep_cyclic() returns pointer, thus NULL should be
used instead of 0 in order to fix the following sparse warning:

drivers/dma/sirf-dma.c:598:24: warning: Using plain integer as NULL pointer

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sirf-dma.c