gpio_monitor: Use gpio_get_type instead of custom function
gpio_monitor: Use gpio_get_type instead of custom function

Signed-off-by: Francois Berder <0eabc3e9da54407da074ac08d4217d54f5b94915@imgtec.com>

CreatorDev/LetMeCreateIoT,CreatorDev/LetMeCreateIoT,CreatorDev/LetMeCreateIoT,mtusnio/LetMeCreateIoT,CreatorDev/LetMeCreateIoT,mtusnio/LetMeCreateIoT,mtusnio/LetMeCreateIoT,mtusnio/LetMeCreateIoT