commit | 5284acccc4a501f38dbeceabaa0340401c107654 | [log] [tgz] |
---|---|---|
author | Linyu Yuan <quic_linyyuan@quicinc.com> | Thu Nov 18 12:53:33 2021 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Nov 23 14:12:48 2021 +0100 |
tree | 442015ac36a2b9344f64516cf6dbd689202f06ed | |
parent | 5d143ec451429891385a21617b292f2ceaa684ea [diff] |
usb: gadget: configfs: use to_usb_function_instance() in cfg (un)link func replace open-coded container_of() with to_usb_function_instance() helper. Reviewed-by: Jack Pham <quic_jackp@quicinc.com> Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com> Link: https://lore.kernel.org/r/1637211213-16400-5-git-send-email-quic_linyyuan@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>