iommu/exynos: Return proper errors from getting clocks
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 23 May 2016 09:30:07 +0000 (11:30 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 15 Jun 2016 11:59:58 +0000 (13:59 +0200)
commit0c2b063f1813ac99238b9c61edb58752eb7762cf
tree57d0c11b9fe686a5f738ba71c9dc0d0a685afbef
parentb54b874fbaf5e024723e50dfb035a9916d6752b4
iommu/exynos: Return proper errors from getting clocks

This patch reworks driver probe code to propagate error codes from
clk_get() operation. This will allow to properly handle deferred probe
in the future.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c