soc/fsl/qe: Fix an error code in qe_pin_request()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 28 Mar 2019 14:18:41 +0000 (17:18 +0300)
committerLi Yang <leoyang.li@nxp.com>
Tue, 2 Apr 2019 23:02:48 +0000 (18:02 -0500)
commit5674a92ca4b7e5a6a19231edd10298d30324cd27
treed3e0fbe7063f403ace6099afc61d891b888d04f8
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
soc/fsl/qe: Fix an error code in qe_pin_request()

We forgot to set "err" on this error path.

Fixes: 1a2d397a6eb5 ("gpio/powerpc: Eliminate duplication of of_get_named_gpio_flags()")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/qe/gpio.c