]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: ab8500: Remove explicit initialization of driver callbacks to NULL
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 22 Nov 2016 21:49:48 +0000 (22:49 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 23 Nov 2016 12:41:58 +0000 (12:41 +0000)
commit0a69516cd8b9878c4040c35294443ac18338febd
treebfa64739b7a3da8d16475cdfaa2fdd5f8c50d6b7
parent1001354ca34179f3db924eb66672442a173147dc
ASoC: ab8500: Remove explicit initialization of driver callbacks to NULL

Fields of structs with global storage are implicitly initialized to 0/NULL,
there is usually no need to do this explicitly.

Removing the initialization of the legacy suspend/resume callback fields
also gets the driver ready for the day when they are eventually removed.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ab8500-codec.c