[PATCH 5.0 060/101] gpio: aspeed: fix a potential NULL pointer dereference