]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: at91-pio4: Remove redundant return value check
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 11 Jul 2018 12:34:07 +0000 (12:34 +0000)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 16 Jul 2018 12:46:11 +0000 (14:46 +0200)
commitc5f9d038cb66043e60ba390b3485f7f7ec6444db
treecf7de780edc425c1db6f43932dcf47ee5b2f2ccb
parentb7f24eeab5a8ae53c9fb42abe4747d75197b7905
pinctrl: at91-pio4: Remove redundant return value check

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>
Reviewed-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91-pio4.c