]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddce4eb5e62a1d31cf7604cf66090f9ac3731b91
treea95a17eee6841368c11f91dbb7f1d1e281adbb16
parentb1cfb15c21c51d6d0219aceff39fd571be371357
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