diff options
author | Daniel Mack <zonque@gmail.com> | 2014-08-27 19:09:05 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-09-02 09:17:06 -0500 |
commit | 254b3bf68b65ac8f82da1c7e0c1a2bb17012aa7d (patch) | |
tree | bdf33e966254ca8ec9870985ca4242f6ae672388 /drivers/usb/dwc3/debug.c | |
parent | a8147dabe56f7e7a4975e60abb613f7e62277577 (diff) |
usb: gadget: f_uac2: introduce agdev_to_uac2_opts
Add a simple container_of() wrapper to get a struct f_uac2_opts from a
struct struct audio_dev. Use it in two places where it is currently
open-coded.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/debug.c')
0 files changed, 0 insertions, 0 deletions