memory: brcmstb_dpfe: Simplify with dev_err_probe()
authorKrzysztof Kozlowski <krzk@kernel.org>
Fri, 28 Aug 2020 15:37:46 +0000 (17:37 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Wed, 2 Sep 2020 15:22:31 +0000 (17:22 +0200)
commit74ca0d837b99b0ca6e66861a64a6456beaa10298
tree86264b392f18b57fc580c46bb5499239a00b454f
parent4c2af5ddf84b45720102cd6348105a288417a214
memory: brcmstb_dpfe: Simplify with dev_err_probe()

Common pattern of handling deferred probe can be simplified with
dev_err_probe().  Less code and the error value gets printed.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Markus Mayer <mmayer@broadcom.com>
Link: https://lore.kernel.org/r/20200828153747.22358-1-krzk@kernel.org
drivers/memory/brcmstb_dpfe.c