ARM: pxa/am300epd: fix leak in am300_init_gpio_regs error path
If gpio_request fails when i > 0, gpios[0] is not freed in current implementation. Signed-off-by: NAxel Lin <axel.lin@gmail.com> Signed-off-by: NEric Miao <eric.y.miao@gmail.com>
Showing
想要评论请 注册 或 登录