[PATCH v3 1/2] drivers: gpio: Add a managed API to get a GPIO from the device-tree