gpio: pcf857x: Use devm_gpiochip_add_data() for gpio registration
Use devm_gpiochip_add_data() for GPIO registration and clean the
error path.
Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>
Showing
想要评论请 注册 或 登录
Use devm_gpiochip_add_data() for GPIO registration and clean the
error path.
Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>