Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Cezary Rojewski <cezary.rojewski@intel.com>
To: alsa-devel@alsa-project.org, broonie@kernel.org
Cc: Cezary Rojewski <cezary.rojewski@intel.com>,
	Vijendar.Mukunda@amd.com, heiko@sntech.de,
	AjitKumar.Pandey@amd.com, linux-rockchip@lists.infradead.org,
	tiwai@suse.com, pierre-louis.bossart@linux.intel.com,
	jiaxin.yu@mediatek.com, lgirdwood@gmail.com, hdegoede@redhat.com,
	Syed.SabaKareem@amd.com, amadeuszx.slawinski@linux.intel.com,
	trevor.wu@mediatek.com
Subject: [PATCH 7/7] ASoC: codecs: da7219: Do not export internal symbols
Date: Mon, 31 Oct 2022 17:02:27 +0100	[thread overview]
Message-ID: <20221031160227.2352630-8-cezary.rojewski@intel.com> (raw)
In-Reply-To: <20221031160227.2352630-1-cezary.rojewski@intel.com>

From: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>

With all users utilizing component->set_jack(), there is no need to
export da7219_aad_jack_det() function.

While at it, remove exports from all other functions as well.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
---
 sound/soc/codecs/da7219-aad.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/sound/soc/codecs/da7219-aad.c b/sound/soc/codecs/da7219-aad.c
index bba73c44c219..9bf8d73b4f58 100644
--- a/sound/soc/codecs/da7219-aad.c
+++ b/sound/soc/codecs/da7219-aad.c
@@ -43,7 +43,6 @@ void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jac
 			    DA7219_ACCDET_EN_MASK,
 			    (jack ? DA7219_ACCDET_EN_MASK : 0));
 }
-EXPORT_SYMBOL_GPL(da7219_aad_jack_det);
 
 /*
  * Button/HPTest work
@@ -930,7 +929,6 @@ int da7219_aad_init(struct snd_soc_component *component)
 
 	return 0;
 }
-EXPORT_SYMBOL_GPL(da7219_aad_init);
 
 void da7219_aad_exit(struct snd_soc_component *component)
 {
@@ -948,7 +946,6 @@ void da7219_aad_exit(struct snd_soc_component *component)
 	cancel_work_sync(&da7219_aad->btn_det_work);
 	cancel_work_sync(&da7219_aad->hptest_work);
 }
-EXPORT_SYMBOL_GPL(da7219_aad_exit);
 
 /*
  * AAD related I2C probe handling
@@ -972,7 +969,6 @@ int da7219_aad_probe(struct i2c_client *i2c)
 
 	return 0;
 }
-EXPORT_SYMBOL_GPL(da7219_aad_probe);
 
 MODULE_DESCRIPTION("ASoC DA7219 AAD Driver");
 MODULE_AUTHOR("Adam Thomson <Adam.Thomson.Opensource@diasemi.com>");
-- 
2.25.1


  parent reply	other threads:[~2022-10-31 15:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-31 16:02 [PATCH 0/7] ASoC: codecs: da7219: Do not export da7219_aad_jack_det() Cezary Rojewski
2022-10-31 16:02 ` [PATCH 1/7] ASoC: codecs: da7219: Introduce set_jack() callback Cezary Rojewski
2022-10-31 16:02 ` [PATCH 2/7] ASoC: Intel: Drop da7219_aad_jack_det() usage Cezary Rojewski
2022-10-31 16:02 ` [PATCH 3/7] ASoC: mediatek: " Cezary Rojewski
2022-10-31 16:02 ` [PATCH 4/7] ASoC: rockchip: " Cezary Rojewski
2022-10-31 16:02 ` [PATCH 5/7] ASoC: amd: " Cezary Rojewski
2022-10-31 16:02 ` [PATCH 6/7] ASoC: Intel: avs: " Cezary Rojewski
2022-10-31 16:02 ` Cezary Rojewski [this message]
2022-11-10 17:55 ` [PATCH 0/7] ASoC: codecs: da7219: Do not export da7219_aad_jack_det() Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221031160227.2352630-8-cezary.rojewski@intel.com \
    --to=cezary.rojewski@intel.com \
    --cc=AjitKumar.Pandey@amd.com \
    --cc=Syed.SabaKareem@amd.com \
    --cc=Vijendar.Mukunda@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=amadeuszx.slawinski@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=hdegoede@redhat.com \
    --cc=heiko@sntech.de \
    --cc=jiaxin.yu@mediatek.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.com \
    --cc=trevor.wu@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox