[PATCH AUTOSEL 4.14 13/16] gpio: pl061: handle failed allocations