[PATCH AUTOSEL 4.4 3/4] gpio: pl061: handle failed allocations