aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/component.c
diff options
context:
space:
mode:
authorMichal Nazarewicz <[email protected]>2016-01-04 21:36:40 +0000
committerGreg Kroah-Hartman <[email protected]>2016-02-10 01:39:33 +0000
commit9e5b3d6f7f946a3fb4d83ac2ab6d2bfefcdafffb (patch)
tree61274c147cc40a10d6afe15a52332cf01d81c196 /drivers/base/component.c
parentdevicetree: update documentation for fw_cfg ARM bindings (diff)
downloadkernel-9e5b3d6f7f946a3fb4d83ac2ab6d2bfefcdafffb.tar.gz
kernel-9e5b3d6f7f946a3fb4d83ac2ab6d2bfefcdafffb.zip
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 <[email protected]> Signed-off-by: Michal Nazarewicz <[email protected]> Acked-by: Marek Szyprowski <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/base/component.c')
0 files changed, 0 insertions, 0 deletions