summaryrefslogtreecommitdiffstats
path: root/dummy/dummy.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-09-21 17:25:31 +1000
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:34 +1100
commitd20d3b185bd84889a1e54b755a8198200c31bc7d (patch)
tree9ca838b320d031fe2cff39e9875e757fc37519ae /dummy/dummy.c
parentc032639678c494710f685612acffeae9b0f603f3 (diff)
Refactor top-level AVIRT API to be avirt_<subject>_<action>
This makes for a more organized function/variable naming convention Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'dummy/dummy.c')
-rw-r--r--dummy/dummy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dummy/dummy.c b/dummy/dummy.c
index fa9dd41..d619786 100644
--- a/dummy/dummy.c
+++ b/dummy/dummy.c
@@ -258,7 +258,7 @@ static int __init dummy_init(void)
pr_info("init()\n");
- err = avirt_register_audiopath(&dummyap_module, &coreinfo);
+ err = avirt_audiopath_register(&dummyap_module, &coreinfo);
if ((err < 0) || (!coreinfo)) {
pr_err("%s: coreinfo is NULL!\n", __func__);
return err;
@@ -271,7 +271,7 @@ static void __exit dummy_exit(void)
{
pr_info("exit()\n");
- avirt_deregister_audiopath(&dummyap_module);
+ avirt_audiopath_deregister(&dummyap_module);
}
module_init(dummy_init);