[PATCH AUTOSEL 4.9 11/12] gpio: pl061: handle failed allocations