[RFC PATCH 0/1] gpio: Handle NULL pointers gracefully