From 254b3bf68b65ac8f82da1c7e0c1a2bb17012aa7d Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Wed, 27 Aug 2014 19:09:05 +0200 Subject: [PATCH] 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-format-patch failed