summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/audio_codec.c
diff options
context:
space:
mode:
authorViresh Kumar2016-01-27 06:47:00 +0100
committerGreg Kroah-Hartman2016-01-28 02:53:10 +0100
commit3b710ec06e00ce041606678b25f9c82e95fde813 (patch)
tree17cb496fda0653a4cd9271fc3f4c72e661f53523 /drivers/staging/greybus/audio_codec.c
parentgreybus: audio_codec: convert to bundle driver (diff)
downloadkernel-qcow2-linux-3b710ec06e00ce041606678b25f9c82e95fde813.tar.gz
kernel-qcow2-linux-3b710ec06e00ce041606678b25f9c82e95fde813.tar.xz
kernel-qcow2-linux-3b710ec06e00ce041606678b25f9c82e95fde813.zip
greybus: audio: Rename Audio class and remove the unused one
There should be a single class macro for Audio and two protocol macros. Rename class with value 0x12 as GREYBUS_CLASS_AUDIO and remove the other unused class GREYBUS_CLASS_AUDIO_DATA. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/audio_codec.c')
-rw-r--r--drivers/staging/greybus/audio_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c
index b2feba8cee14..b43b5432d7a6 100644
--- a/drivers/staging/greybus/audio_codec.c
+++ b/drivers/staging/greybus/audio_codec.c
@@ -1024,7 +1024,7 @@ static void gb_audio_disconnect(struct gb_bundle *bundle)
}
static const struct greybus_bundle_id gb_audio_id_table[] = {
- { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_AUDIO_MGMT) },
+ { GREYBUS_DEVICE_CLASS(GREYBUS_CLASS_AUDIO) },
{ }
};
MODULE_DEVICE_TABLE(greybus, gb_audio_id_table);