summaryrefslogtreecommitdiffstats
path: root/drivers/base/component.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2016-01-04 22:36:40 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-09 17:39:33 -0800
commit9e5b3d6f7f946a3fb4d83ac2ab6d2bfefcdafffb (patch)
tree61274c147cc40a10d6afe15a52332cf01d81c196 /drivers/base/component.c
parent92aed5d6ba90c2031c8d321a02e7af3d4cb05b8d (diff)
downloadop-kernel-dev-9e5b3d6f7f946a3fb4d83ac2ab6d2bfefcdafffb.zip
op-kernel-dev-9e5b3d6f7f946a3fb4d83ac2ab6d2bfefcdafffb.tar.gz
drivers: dma-coherent: simplify dma_init_coherent_memory return value
Since only dma_declare_coherent_memory cares about dma_init_coherent_memory returning part of flags as it return value, move the condition to the former and simplify the latter. This in turn makes rmem_dma_device_init less confusing. Reported-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/component.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud