diff options
| author | Michal Nazarewicz <[email protected]> | 2016-01-04 21:36:40 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-02-10 01:39:33 +0000 |
| commit | 9e5b3d6f7f946a3fb4d83ac2ab6d2bfefcdafffb (patch) | |
| tree | 61274c147cc40a10d6afe15a52332cf01d81c196 /drivers/base/component.c | |
| parent | devicetree: update documentation for fw_cfg ARM bindings (diff) | |
| download | kernel-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
