aboutsummaryrefslogtreecommitdiff
path: root/drivers/mfd/syscon.c
diff options
context:
space:
mode:
authorLadislav Michl2018-01-15 21:25:05 +0100
committerLee Jones2018-05-16 09:21:48 +0100
commit16c2004d9e4d6e5bc0a81fa811eb6ebab4fb6307 (patch)
treec17d95b953de0cbbd98bb5c54d7575d112c5a43d /drivers/mfd/syscon.c
parent46c8aa8e3fe61c7bb5dbbc9db379eeb01dc97472 (diff)
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 'drivers/mfd/syscon.c')
0 files changed, 0 insertions, 0 deletions