aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_jack.h
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-09-02 16:21:26 -0500
committerTakashi Iwai <tiwai@suse.de>2020-09-03 09:27:11 +0200
commit74610eaf310ab9b9b00a015adb54afcae038bc06 (patch)
tree9bc244cd48bae9ad3c2915714721a08dbcfb5cdd /sound/pci/hda/hda_jack.h
parentALSA: hda: auto_parser: remove shadowed variable declaration (diff)
downloadlinux-dev-74610eaf310ab9b9b00a015adb54afcae038bc06.tar.xz
linux-dev-74610eaf310ab9b9b00a015adb54afcae038bc06.zip
ALSA: hda: (cosmetic) align function parameters
Fix cppcheck warnings and use same names in headers and C code. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200902212133.30964-12-pierre-louis.bossart@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_jack.h')
-rw-r--r--sound/pci/hda/hda_jack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_jack.h b/sound/pci/hda/hda_jack.h
index 727b6d3ba454..8ceaf0ef5df1 100644
--- a/sound/pci/hda/hda_jack.h
+++ b/sound/pci/hda/hda_jack.h
@@ -77,7 +77,7 @@ int snd_hda_jack_detect_enable(struct hda_codec *codec, hda_nid_t nid,
struct hda_jack_callback *
snd_hda_jack_detect_enable_callback_mst(struct hda_codec *codec, hda_nid_t nid,
- int dev_id, hda_jack_callback_fn cb);
+ int dev_id, hda_jack_callback_fn func);
/**
* snd_hda_jack_detect_enable - enable the jack-detection