Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[~shefty/rdma-dev.git] / sound / soc / codecs / sgtl5000.c
index bbcf921166f7470fad24577d2aa52d1cf85258f4..f6b6551940ab29b80ec2a806f720801e6a72b10c 100644 (file)
@@ -833,7 +833,7 @@ static int ldo_regulator_register(struct snd_soc_codec *codec,
        ldo->voltage = voltage;
 
        ldo->dev = regulator_register(&ldo->desc, codec->dev,
        ldo->voltage = voltage;
 
        ldo->dev = regulator_register(&ldo->desc, codec->dev,
-                                         init_data, ldo);
+                                         init_data, ldo, NULL);
        if (IS_ERR(ldo->dev)) {
                int ret = PTR_ERR(ldo->dev);
 
        if (IS_ERR(ldo->dev)) {
                int ret = PTR_ERR(ldo->dev);