• Tomi Valkeinen's avatar
    OMAPDSS: cleanup probe functions · cd3b3449
    Tomi Valkeinen authored
    Now that dss is using devm_ functions for allocation in probe functions,
    small reordering of the allocations allows us to clean up the probe
    functions more.
    
    This patch moves "unmanaged" allocations after the managed ones, and
    uses plain returns instead of gotos where possible. This lets us remove
    a bunch of goto labels, simplifying the probe's error handling.
    Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
    cd3b3449
dsi.c 122 KB