OSDN Git Service

ASoC: rt5645: Remove return value in jack detect work
authorNicolas Boichat <drinkcat@chromium.org>
Mon, 20 Jul 2015 01:32:05 +0000 (09:32 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 20 Jul 2015 17:14:15 +0000 (18:14 +0100)
commitf136dce45116027fec65c342fbcb5aaa900729c6
treea95a17eee6841368c11f91dbb7f1d1e281adbb16
parent2c23b0c10f64335031781cf78fd57aae072e9372
ASoC: rt5645: Remove return value in jack detect work

"ASoC: rt5645: Check if codec is initialized in workqueue handler"
adds a check if codec is NULL in rt5645_irq_detection, which
returns an int. However, "ASoC: rt5645: Remove irq_jack_detection
function" removes that function, and moves the code in
jack_detect_work, which returns void.

Remove the return value to fix compilation warning.

Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c