]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: davinci: fix unwinding in probe
authorDavid Lechner <david@lechnology.com>
Tue, 5 Apr 2016 17:31:49 +0000 (12:31 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:19 +0000 (10:33 +0200)
commit62ac52b2fbcc8036d1fd4860b232fef2d554fa4d
treebfb307b7674e4cff5f6c9b824fff3c79552d6467
parent2edeb8540bc21247906e13ad2a08317d6fa410e7
mmc: davinci: fix unwinding in probe

Unwiding from an error in davinci_mmcsd_probe was a mess. Some errors were
not handled and not all paths unwound correctly. Also using devm_ where
possible to simplify things.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/davinci_mmc.c