commit | 445df7ff3fd1a0a914a434881c116b856e236d78 | [log] [tgz] |
---|---|---|
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | Tue May 19 21:56:29 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun May 24 13:06:08 2015 -0700 |
tree | 35669da4b527ac0b238a173d2e3c2917ebdf85e4 | |
parent | c33eecc7abce688208430b2bb28be9442673ebef [diff] |
serial: mctrl-gpio: drop usages of IS_ERR_OR_NULL The function mctrl_gpio_init returns failure if the assignment to any member of the gpio array results in an error pointer. So there is no need to check for such error values in the other functions. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>