modify gpio and nvp1918 driver

Signed-off-by: robin <crushonme@163.com>