diff options
author | Luc Verhaegen <[email protected]> | 2014-11-14 13:26:49 +0100 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2014-11-14 15:28:39 +0200 |
commit | bf2fda157a9ab50f65da60a365ede3a5b529d025 (patch) | |
tree | 8e8f1df828d61876101d4aeb7605c72ffc38bfef /tools/perf | |
parent | 1270be4a4fb852630280638cbb169b67c485b3e3 (diff) |
simplefb: add goto error path to probe
Use the usual kernel style of goto error_foo to free resources on probe
error. This is a preparation patch for adding clocks support.
While at it also update ioremap_wc error return from ENODEV to ENOMEM.
Signed-off-by: Luc Verhaegen <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Acked-by: Geert Uytterhoeven <[email protected]>
Reviewed-by: Maxime Ripard <[email protected]>
Reviewed-by: David Herrmann <[email protected]>
Acked-by: Grant Likely <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions