serial: max310x: Using resource-managed function for GPIO
Use resource managed functions devm_gpiochip_add_data() to make error & exit path a bit simpler. Signed-off-by: NAlexander Shiyan <shc_work@mail.ru> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录