pinctrl: mediatek: remove redundant return value check of platform_get_resource()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 31 May 2018 11:39:42 +0000 (11:39 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 18 Jun 2018 05:55:56 +0000 (07:55 +0200)
commitfb7298e1669ee84aa76f3483c91f1de4814aac11
treed4fceb97b3ceae591cf7c4a6bb1c2d37a5e5c37a
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
pinctrl: mediatek: remove redundant return value check of platform_get_resource()

Remove unneeded error handling on the result of a call
to platform_get_resource() when the value is passed to
devm_ioremap_resource().

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/mediatek/pinctrl-mtk-common.c