commit | 7bca646e0fc34b19cd84e14ed474d1c95830cc80 | [log] [tgz] |
---|---|---|
author | Pramod Gurav <pramod.gurav@smartplayin.com> | Tue Sep 23 18:21:48 2014 +0530 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Wed Sep 24 10:37:40 2014 +0200 |
tree | ca1afd5719e1ca2d730c6aa0cfb556d5e4b51b93 | |
parent | dfa5d19658a308b373ce0cb9f6be9338c16ce14f [diff] |
mmc: atmel-mci: Switch to using managed resource in probe This change uses managed resource APIs to allocate resources such as, clk, gpio, io in order to simplify the driver unload or failure cases. Hence does away with release statements of the same resources in error labels and remove function. Signed-off-by: Pramod Gurav <pramod.gurav@smartplayin.com> Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>