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