From: Daniel Mack Date: Wed, 27 Aug 2014 17:09:05 +0000 (+0200) Subject: usb: gadget: f_uac2: introduce agdev_to_uac2_opts X-Git-Tag: fixes-for-v3.18-merge-window~16^2~118^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=254b3bf68b65ac8f82da1c7e0c1a2bb17012aa7d;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed