summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ab8500-codec.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2016-11-22 22:49:48 +0100
committerMark Brown <broonie@kernel.org>2016-11-23 13:41:58 +0100
commit0a69516cd8b9878c4040c35294443ac18338febd (patch)
treebfa64739b7a3da8d16475cdfaa2fdd5f8c50d6b7 /sound/soc/codecs/ab8500-codec.c
parentLinux 4.9-rc1 (diff)
downloadlinux-0a69516cd8b9878c4040c35294443ac18338febd.tar.xz
linux-0a69516cd8b9878c4040c35294443ac18338febd.zip
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>
Diffstat (limited to 'sound/soc/codecs/ab8500-codec.c')
-rw-r--r--sound/soc/codecs/ab8500-codec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/ab8500-codec.c b/sound/soc/codecs/ab8500-codec.c
index 935ff7cb71c5..312b2a11abb6 100644
--- a/sound/soc/codecs/ab8500-codec.c
+++ b/sound/soc/codecs/ab8500-codec.c
@@ -2587,8 +2587,6 @@ static struct platform_driver ab8500_codec_platform_driver = {
},
.probe = ab8500_codec_driver_probe,
.remove = ab8500_codec_driver_remove,
- .suspend = NULL,
- .resume = NULL,
};
module_platform_driver(ab8500_codec_platform_driver);