usb: gadget: configfs: use to_config_usb_cfg() in os_desc_link()
[ Upstream commit 5d143ec4 ] replace open-coded container_of() with to_config_usb_cfg() 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-4-git-send-email-quic_linyyuan@quicinc.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: 89e7252d ("usb: gadget: configfs: Restrict symlink creation is UDC already binded") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading