Commit c05dff38 authored by Amadeusz Sławiński's avatar Amadeusz Sławiński Committed by Mark Brown

ASoC: codecs: da7219: Do not export internal symbols

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: default avatarAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: default avatarCezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221031160227.2352630-8-cezary.rojewski@intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 7af1ca5b
...@@ -43,7 +43,6 @@ void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jac ...@@ -43,7 +43,6 @@ void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jac
DA7219_ACCDET_EN_MASK, DA7219_ACCDET_EN_MASK,
(jack ? DA7219_ACCDET_EN_MASK : 0)); (jack ? DA7219_ACCDET_EN_MASK : 0));
} }
EXPORT_SYMBOL_GPL(da7219_aad_jack_det);
/* /*
* Button/HPTest work * Button/HPTest work
...@@ -930,7 +929,6 @@ int da7219_aad_init(struct snd_soc_component *component) ...@@ -930,7 +929,6 @@ int da7219_aad_init(struct snd_soc_component *component)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(da7219_aad_init);
void da7219_aad_exit(struct snd_soc_component *component) void da7219_aad_exit(struct snd_soc_component *component)
{ {
...@@ -948,7 +946,6 @@ 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->btn_det_work);
cancel_work_sync(&da7219_aad->hptest_work); cancel_work_sync(&da7219_aad->hptest_work);
} }
EXPORT_SYMBOL_GPL(da7219_aad_exit);
/* /*
* AAD related I2C probe handling * AAD related I2C probe handling
...@@ -972,7 +969,6 @@ int da7219_aad_probe(struct i2c_client *i2c) ...@@ -972,7 +969,6 @@ int da7219_aad_probe(struct i2c_client *i2c)
return 0; return 0;
} }
EXPORT_SYMBOL_GPL(da7219_aad_probe);
MODULE_DESCRIPTION("ASoC DA7219 AAD Driver"); MODULE_DESCRIPTION("ASoC DA7219 AAD Driver");
MODULE_AUTHOR("Adam Thomson <Adam.Thomson.Opensource@diasemi.com>"); MODULE_AUTHOR("Adam Thomson <Adam.Thomson.Opensource@diasemi.com>");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment