diff options
author | Marek Szyprowski <[email protected]> | 2014-10-29 14:50:29 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-10-29 16:33:14 -0700 |
commit | 47f29df7db78ee4fcdb104cf36918d987ddd0278 (patch) | |
tree | dddc4e6874daebe2258972f2aa17a7a2c0ac6aa9 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 5ddacbe92b806cd5b4f8f154e8e46ac267fff55c (diff) |
drivers: of: add return value to of_reserved_mem_device_init()
Driver calling of_reserved_mem_device_init() might be interested if the
initialization has been successful or not, so add support for returning
error code.
This fixes a build warining caused by commit 7bfa5ab6fa1b ("drivers:
dma-coherent: add initialization from device tree"), which has been
merged without this change and without fixing function return value.
Fixes: 7bfa5ab6fa1b1 ("drivers: dma-coherent: add initialization from device tree")
Signed-off-by: Marek Szyprowski <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Josh Cartwright <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Kyungmin Park <[email protected]>
Cc: Russell King <[email protected]>
Cc: Stephen Rothwell <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions