diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2018-01-15 21:25:05 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2018-05-16 09:21:48 +0100 |
commit | 16c2004d9e4d6e5bc0a81fa811eb6ebab4fb6307 (patch) | |
tree | c17d95b953de0cbbd98bb5c54d7575d112c5a43d /scripts/conmakehash.c | |
parent | 46c8aa8e3fe61c7bb5dbbc9db379eeb01dc97472 (diff) | |
download | linux-16c2004d9e4d6e5bc0a81fa811eb6ebab4fb6307.tar.bz2 |
mfd: omap-usb-tll: Allocate driver data at once
Allocating memory to store clk array together with driver
data simplifies error unwinding and allows deleting memory
allocation failure message as there is now only single point
of failure already covered by allocation failure report.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
[Markus Elfring: simplified error unwinding, error message removal]
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'scripts/conmakehash.c')
0 files changed, 0 insertions, 0 deletions