ASoC: wm8350: don't use [delayed_]work_pending()
authorTejun Heo <tj@kernel.org>
Sat, 22 Dec 2012 01:57:03 +0000 (17:57 -0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 24 Dec 2012 16:10:22 +0000 (16:10 +0000)
commit8a47ca957a6bf86f81893edd9401b91c00be4848
tree89813cf0430be7e35a5c528b8924de574d758efd
parenta49f0d1ea3ec94fc7cf33a7c36a16343b74bd565
ASoC: wm8350: don't use [delayed_]work_pending()

There's no need to test whether a (delayed) work item in pending
before queueing, flushing or cancelling it.  Most uses are unnecessary
and quite a few of them are buggy.

Remove unnecessary pending tests from wm8350.  Only compile tested.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8350.c