From: Vaibhav Agarwal Date: Fri, 22 Jul 2016 04:11:30 +0000 (+0530) Subject: greybus: audio: Avoid using ARA keyword X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=098dfaf45e76442d032207d2023930c685ab7c2e;p=linux-beck.git greybus: audio: Avoid using ARA keyword It is suggested to avoid using ARA keyword externally. So we need to update GB codec driver. Also, codec name is currently set to 'gb-codec'. However, it makes more sense to name it as apb-dummy-codec, since it is used to control various audio modules connected to APB via greybus. Signed-off-by: Vaibhav Agarwal Reviewed-by: Mark Greer Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/audio_codec.c b/drivers/staging/greybus/audio_codec.c index 9c7bec737875..d7679e6bc364 100644 --- a/drivers/staging/greybus/audio_codec.c +++ b/drivers/staging/greybus/audio_codec.c @@ -1,5 +1,5 @@ /* - * audio codec driver + * APBridge ALSA SoC dummy codec driver * Copyright 2016 Google Inc. * Copyright 2016 Linaro Ltd. * @@ -1203,13 +1203,13 @@ static int gbaudio_codec_remove(struct platform_device *pdev) } static const struct of_device_id greybus_asoc_machine_of_match[] = { - { .compatible = "qcom,ara-codec", }, + { .compatible = "toshiba,apb-dummy-codec", }, {}, }; static struct platform_driver gbaudio_codec_driver = { .driver = { - .name = "gb-codec", + .name = "apb-dummy-codec", .owner = THIS_MODULE, #ifdef CONFIG_PM .pm = &gbaudio_codec_pm_ops, @@ -1221,7 +1221,7 @@ static struct platform_driver gbaudio_codec_driver = { }; module_platform_driver(gbaudio_codec_driver); -MODULE_DESCRIPTION("Greybus codec driver"); +MODULE_DESCRIPTION("APBridge ALSA SoC dummy codec driver"); MODULE_AUTHOR("Vaibhav Agarwal "); MODULE_LICENSE("GPL v2"); -MODULE_ALIAS("platform:gbaudio-codec"); +MODULE_ALIAS("platform:apb-dummy-codec");