ASoC: remove unused functions

Remove unused function "wsa883x_regcache_sync" and
"wsa883x_resource_acquire".

Change-Id: Ic4dca68671673141be833926305116d8cd881d89
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
このコミットが含まれているのは:
Vignesh Kulothungan
2020-01-02 16:13:45 -08:00
コミット 46c4e1f885
2個のファイルの変更2行の追加12行の削除

ファイルの表示

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
*/
#ifndef WSA883X_INTERNAL_H
@@ -120,6 +120,4 @@ struct wsa883x_priv {
struct notifier_block *nblock, bool enable);
};
static int32_t wsa883x_resource_acquire(struct snd_soc_component *component,
bool enable);
#endif /* WSA883X_INTERNAL_H */

ファイルの表示

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2015-2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2015-2020, The Linux Foundation. All rights reserved.
*/
#include <linux/module.h>
@@ -664,14 +664,6 @@ int wsa883x_codec_info_create_codec_entry(struct snd_info_entry *codec_root,
}
EXPORT_SYMBOL(wsa883x_codec_info_create_codec_entry);
static void wsa883x_regcache_sync(struct wsa883x_priv *wsa883x)
{
mutex_lock(&wsa883x->res_lock);
regcache_mark_dirty(wsa883x->regmap);
regcache_sync(wsa883x->regmap);
mutex_unlock(&wsa883x->res_lock);
}
static int wsa883x_get_compander(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{