diff options
-rw-r--r-- | sound/soc/tegra/tegra20_ac97.c | 1 | ||||
-rw-r--r-- | sound/soc/tegra/tegra20_das.c | 1 | ||||
-rw-r--r-- | sound/soc/tegra/tegra20_i2s.c | 1 | ||||
-rw-r--r-- | sound/soc/tegra/tegra20_spdif.c | 5 | ||||
-rw-r--r-- | sound/soc/tegra/tegra30_ahub.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/tegra30_i2s.c | 1 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_alc5632.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_max98090.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_rt5640.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_sgtl5000.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_wm8753.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_wm8903.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/tegra_wm9712.c | 4 | ||||
-rw-r--r-- | sound/soc/tegra/trimslice.c | 4 |
14 files changed, 11 insertions, 34 deletions
diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c index a68368edab9c..affad46bf188 100644 --- a/sound/soc/tegra/tegra20_ac97.c +++ b/sound/soc/tegra/tegra20_ac97.c | |||
@@ -318,7 +318,6 @@ static int tegra20_ac97_platform_probe(struct platform_device *pdev) | |||
318 | ac97 = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_ac97), | 318 | ac97 = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_ac97), |
319 | GFP_KERNEL); | 319 | GFP_KERNEL); |
320 | if (!ac97) { | 320 | if (!ac97) { |
321 | dev_err(&pdev->dev, "Can't allocate tegra20_ac97\n"); | ||
322 | ret = -ENOMEM; | 321 | ret = -ENOMEM; |
323 | goto err; | 322 | goto err; |
324 | } | 323 | } |
diff --git a/sound/soc/tegra/tegra20_das.c b/sound/soc/tegra/tegra20_das.c index 89add13c31cf..6d4a2774135e 100644 --- a/sound/soc/tegra/tegra20_das.c +++ b/sound/soc/tegra/tegra20_das.c | |||
@@ -142,7 +142,6 @@ static int tegra20_das_probe(struct platform_device *pdev) | |||
142 | 142 | ||
143 | das = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_das), GFP_KERNEL); | 143 | das = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_das), GFP_KERNEL); |
144 | if (!das) { | 144 | if (!das) { |
145 | dev_err(&pdev->dev, "Can't allocate tegra20_das\n"); | ||
146 | ret = -ENOMEM; | 145 | ret = -ENOMEM; |
147 | goto err; | 146 | goto err; |
148 | } | 147 | } |
diff --git a/sound/soc/tegra/tegra20_i2s.c b/sound/soc/tegra/tegra20_i2s.c index 14106fa82bca..26253c2849e7 100644 --- a/sound/soc/tegra/tegra20_i2s.c +++ b/sound/soc/tegra/tegra20_i2s.c | |||
@@ -345,7 +345,6 @@ static int tegra20_i2s_platform_probe(struct platform_device *pdev) | |||
345 | 345 | ||
346 | i2s = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_i2s), GFP_KERNEL); | 346 | i2s = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_i2s), GFP_KERNEL); |
347 | if (!i2s) { | 347 | if (!i2s) { |
348 | dev_err(&pdev->dev, "Can't allocate tegra20_i2s\n"); | ||
349 | ret = -ENOMEM; | 348 | ret = -ENOMEM; |
350 | goto err; | 349 | goto err; |
351 | } | 350 | } |
diff --git a/sound/soc/tegra/tegra20_spdif.c b/sound/soc/tegra/tegra20_spdif.c index a0c3640572b9..767c0491e11a 100644 --- a/sound/soc/tegra/tegra20_spdif.c +++ b/sound/soc/tegra/tegra20_spdif.c | |||
@@ -271,10 +271,9 @@ static int tegra20_spdif_platform_probe(struct platform_device *pdev) | |||
271 | 271 | ||
272 | spdif = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_spdif), | 272 | spdif = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_spdif), |
273 | GFP_KERNEL); | 273 | GFP_KERNEL); |
274 | if (!spdif) { | 274 | if (!spdif) |
275 | dev_err(&pdev->dev, "Can't allocate tegra20_spdif\n"); | ||
276 | return -ENOMEM; | 275 | return -ENOMEM; |
277 | } | 276 | |
278 | dev_set_drvdata(&pdev->dev, spdif); | 277 | dev_set_drvdata(&pdev->dev, spdif); |
279 | 278 | ||
280 | spdif->clk_spdif_out = devm_clk_get(&pdev->dev, "spdif_out"); | 279 | spdif->clk_spdif_out = devm_clk_get(&pdev->dev, "spdif_out"); |
diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c index fef3b9a21a66..d7494c0e9053 100644 --- a/sound/soc/tegra/tegra30_ahub.c +++ b/sound/soc/tegra/tegra30_ahub.c | |||
@@ -560,10 +560,8 @@ static int tegra30_ahub_probe(struct platform_device *pdev) | |||
560 | 560 | ||
561 | ahub = devm_kzalloc(&pdev->dev, sizeof(struct tegra30_ahub), | 561 | ahub = devm_kzalloc(&pdev->dev, sizeof(struct tegra30_ahub), |
562 | GFP_KERNEL); | 562 | GFP_KERNEL); |
563 | if (!ahub) { | 563 | if (!ahub) |
564 | dev_err(&pdev->dev, "Can't allocate tegra30_ahub\n"); | ||
565 | return -ENOMEM; | 564 | return -ENOMEM; |
566 | } | ||
567 | dev_set_drvdata(&pdev->dev, ahub); | 565 | dev_set_drvdata(&pdev->dev, ahub); |
568 | 566 | ||
569 | ahub->soc_data = soc_data; | 567 | ahub->soc_data = soc_data; |
diff --git a/sound/soc/tegra/tegra30_i2s.c b/sound/soc/tegra/tegra30_i2s.c index 8e55583aa104..b2b279c96029 100644 --- a/sound/soc/tegra/tegra30_i2s.c +++ b/sound/soc/tegra/tegra30_i2s.c | |||
@@ -385,7 +385,6 @@ static int tegra30_i2s_platform_probe(struct platform_device *pdev) | |||
385 | 385 | ||
386 | i2s = devm_kzalloc(&pdev->dev, sizeof(struct tegra30_i2s), GFP_KERNEL); | 386 | i2s = devm_kzalloc(&pdev->dev, sizeof(struct tegra30_i2s), GFP_KERNEL); |
387 | if (!i2s) { | 387 | if (!i2s) { |
388 | dev_err(&pdev->dev, "Can't allocate tegra30_i2s\n"); | ||
389 | ret = -ENOMEM; | 388 | ret = -ENOMEM; |
390 | goto err; | 389 | goto err; |
391 | } | 390 | } |
diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c index eead6e7f205b..0509902512cc 100644 --- a/sound/soc/tegra/tegra_alc5632.c +++ b/sound/soc/tegra/tegra_alc5632.c | |||
@@ -169,10 +169,8 @@ static int tegra_alc5632_probe(struct platform_device *pdev) | |||
169 | 169 | ||
170 | alc5632 = devm_kzalloc(&pdev->dev, | 170 | alc5632 = devm_kzalloc(&pdev->dev, |
171 | sizeof(struct tegra_alc5632), GFP_KERNEL); | 171 | sizeof(struct tegra_alc5632), GFP_KERNEL); |
172 | if (!alc5632) { | 172 | if (!alc5632) |
173 | dev_err(&pdev->dev, "Can't allocate tegra_alc5632\n"); | ||
174 | return -ENOMEM; | 173 | return -ENOMEM; |
175 | } | ||
176 | 174 | ||
177 | card->dev = &pdev->dev; | 175 | card->dev = &pdev->dev; |
178 | platform_set_drvdata(pdev, card); | 176 | platform_set_drvdata(pdev, card); |
diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c index a403db6d563e..c34a54d6e812 100644 --- a/sound/soc/tegra/tegra_max98090.c +++ b/sound/soc/tegra/tegra_max98090.c | |||
@@ -225,10 +225,8 @@ static int tegra_max98090_probe(struct platform_device *pdev) | |||
225 | 225 | ||
226 | machine = devm_kzalloc(&pdev->dev, | 226 | machine = devm_kzalloc(&pdev->dev, |
227 | sizeof(struct tegra_max98090), GFP_KERNEL); | 227 | sizeof(struct tegra_max98090), GFP_KERNEL); |
228 | if (!machine) { | 228 | if (!machine) |
229 | dev_err(&pdev->dev, "Can't allocate tegra_max98090\n"); | ||
230 | return -ENOMEM; | 229 | return -ENOMEM; |
231 | } | ||
232 | 230 | ||
233 | card->dev = &pdev->dev; | 231 | card->dev = &pdev->dev; |
234 | platform_set_drvdata(pdev, card); | 232 | platform_set_drvdata(pdev, card); |
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c index 25b9fc03ba62..93a356802345 100644 --- a/sound/soc/tegra/tegra_rt5640.c +++ b/sound/soc/tegra/tegra_rt5640.c | |||
@@ -170,10 +170,8 @@ static int tegra_rt5640_probe(struct platform_device *pdev) | |||
170 | 170 | ||
171 | machine = devm_kzalloc(&pdev->dev, | 171 | machine = devm_kzalloc(&pdev->dev, |
172 | sizeof(struct tegra_rt5640), GFP_KERNEL); | 172 | sizeof(struct tegra_rt5640), GFP_KERNEL); |
173 | if (!machine) { | 173 | if (!machine) |
174 | dev_err(&pdev->dev, "Can't allocate tegra_rt5640\n"); | ||
175 | return -ENOMEM; | 174 | return -ENOMEM; |
176 | } | ||
177 | 175 | ||
178 | card->dev = &pdev->dev; | 176 | card->dev = &pdev->dev; |
179 | platform_set_drvdata(pdev, card); | 177 | platform_set_drvdata(pdev, card); |
diff --git a/sound/soc/tegra/tegra_sgtl5000.c b/sound/soc/tegra/tegra_sgtl5000.c index 4bbab098f50b..6dda01f69983 100644 --- a/sound/soc/tegra/tegra_sgtl5000.c +++ b/sound/soc/tegra/tegra_sgtl5000.c | |||
@@ -120,10 +120,8 @@ static int tegra_sgtl5000_driver_probe(struct platform_device *pdev) | |||
120 | 120 | ||
121 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_sgtl5000), | 121 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_sgtl5000), |
122 | GFP_KERNEL); | 122 | GFP_KERNEL); |
123 | if (!machine) { | 123 | if (!machine) |
124 | dev_err(&pdev->dev, "Can't allocate tegra_sgtl5000 struct\n"); | ||
125 | return -ENOMEM; | 124 | return -ENOMEM; |
126 | } | ||
127 | 125 | ||
128 | card->dev = &pdev->dev; | 126 | card->dev = &pdev->dev; |
129 | platform_set_drvdata(pdev, card); | 127 | platform_set_drvdata(pdev, card); |
diff --git a/sound/soc/tegra/tegra_wm8753.c b/sound/soc/tegra/tegra_wm8753.c index bdedd1028569..d0ab0026a4cd 100644 --- a/sound/soc/tegra/tegra_wm8753.c +++ b/sound/soc/tegra/tegra_wm8753.c | |||
@@ -128,10 +128,8 @@ static int tegra_wm8753_driver_probe(struct platform_device *pdev) | |||
128 | 128 | ||
129 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm8753), | 129 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm8753), |
130 | GFP_KERNEL); | 130 | GFP_KERNEL); |
131 | if (!machine) { | 131 | if (!machine) |
132 | dev_err(&pdev->dev, "Can't allocate tegra_wm8753 struct\n"); | ||
133 | return -ENOMEM; | 132 | return -ENOMEM; |
134 | } | ||
135 | 133 | ||
136 | card->dev = &pdev->dev; | 134 | card->dev = &pdev->dev; |
137 | platform_set_drvdata(pdev, card); | 135 | platform_set_drvdata(pdev, card); |
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c index 2013e9c4bba0..dbfb49298ae8 100644 --- a/sound/soc/tegra/tegra_wm8903.c +++ b/sound/soc/tegra/tegra_wm8903.c | |||
@@ -248,10 +248,8 @@ static int tegra_wm8903_driver_probe(struct platform_device *pdev) | |||
248 | 248 | ||
249 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm8903), | 249 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm8903), |
250 | GFP_KERNEL); | 250 | GFP_KERNEL); |
251 | if (!machine) { | 251 | if (!machine) |
252 | dev_err(&pdev->dev, "Can't allocate tegra_wm8903 struct\n"); | ||
253 | return -ENOMEM; | 252 | return -ENOMEM; |
254 | } | ||
255 | 253 | ||
256 | card->dev = &pdev->dev; | 254 | card->dev = &pdev->dev; |
257 | platform_set_drvdata(pdev, card); | 255 | platform_set_drvdata(pdev, card); |
diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c index 6492f8143ff1..c9cd22432627 100644 --- a/sound/soc/tegra/tegra_wm9712.c +++ b/sound/soc/tegra/tegra_wm9712.c | |||
@@ -77,10 +77,8 @@ static int tegra_wm9712_driver_probe(struct platform_device *pdev) | |||
77 | 77 | ||
78 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm9712), | 78 | machine = devm_kzalloc(&pdev->dev, sizeof(struct tegra_wm9712), |
79 | GFP_KERNEL); | 79 | GFP_KERNEL); |
80 | if (!machine) { | 80 | if (!machine) |
81 | dev_err(&pdev->dev, "Can't allocate tegra_wm9712 struct\n"); | ||
82 | return -ENOMEM; | 81 | return -ENOMEM; |
83 | } | ||
84 | 82 | ||
85 | card->dev = &pdev->dev; | 83 | card->dev = &pdev->dev; |
86 | platform_set_drvdata(pdev, card); | 84 | platform_set_drvdata(pdev, card); |
diff --git a/sound/soc/tegra/trimslice.c b/sound/soc/tegra/trimslice.c index 870f84ab5005..c9dcad9bb931 100644 --- a/sound/soc/tegra/trimslice.c +++ b/sound/soc/tegra/trimslice.c | |||
@@ -123,10 +123,8 @@ static int tegra_snd_trimslice_probe(struct platform_device *pdev) | |||
123 | 123 | ||
124 | trimslice = devm_kzalloc(&pdev->dev, sizeof(struct tegra_trimslice), | 124 | trimslice = devm_kzalloc(&pdev->dev, sizeof(struct tegra_trimslice), |
125 | GFP_KERNEL); | 125 | GFP_KERNEL); |
126 | if (!trimslice) { | 126 | if (!trimslice) |
127 | dev_err(&pdev->dev, "Can't allocate tegra_trimslice\n"); | ||
128 | return -ENOMEM; | 127 | return -ENOMEM; |
129 | } | ||
130 | 128 | ||
131 | card->dev = &pdev->dev; | 129 | card->dev = &pdev->dev; |
132 | platform_set_drvdata(pdev, card); | 130 | platform_set_drvdata(pdev, card); |