[PATCH 2/2] bus: omap_l3_smx: Use devm_* managed allocators

2014-03-31 Thread Axel Lin
This simplifies error and cleanup code paths. Signed-off-by: Axel Lin --- drivers/bus/omap_l3_smx.c | 53 +++ 1 file changed, 12 insertions(+), 41 deletions(-) diff --git a/drivers/bus/omap_l3_smx.c b/drivers/bus/omap_l3_smx.c index acc2164..90840cf

[PATCH 2/2] bus: omap_l3_smx: Use devm_* managed allocators

2014-03-31 Thread Axel Lin
This simplifies error and cleanup code paths. Signed-off-by: Axel Lin axel@ingics.com --- drivers/bus/omap_l3_smx.c | 53 +++ 1 file changed, 12 insertions(+), 41 deletions(-) diff --git a/drivers/bus/omap_l3_smx.c b/drivers/bus/omap_l3_smx.c