All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/16] ASoC: cs4270: Remove redundant OOM message
@ 2014-06-20  9:58 Sachin Kamat
  2014-06-20  9:58 ` [PATCH 02/16] ASoC: cs42l73: " Sachin Kamat
                   ` (16 more replies)
  0 siblings, 17 replies; 29+ messages in thread
From: Sachin Kamat @ 2014-06-20  9:58 UTC (permalink / raw)
  To: alsa-devel; +Cc: broonie, spk.linux, lgirdwood

Let memory subsystem handle the error logging.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
---
 sound/soc/codecs/cs4270.c |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 9947a9583679..e6d4ff9fd992 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -664,10 +664,8 @@ static int cs4270_i2c_probe(struct i2c_client *i2c_client,
 
 	cs4270 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs4270_private),
 			      GFP_KERNEL);
-	if (!cs4270) {
-		dev_err(&i2c_client->dev, "could not allocate codec\n");
+	if (!cs4270)
 		return -ENOMEM;
-	}
 
 	/* get the power supply regulators */
 	for (i = 0; i < ARRAY_SIZE(supply_names); i++)
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2014-06-27 11:49 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-20  9:58 [PATCH 01/16] ASoC: cs4270: Remove redundant OOM message Sachin Kamat
2014-06-20  9:58 ` [PATCH 02/16] ASoC: cs42l73: " Sachin Kamat
2014-06-20 14:48   ` Handrigan, Paul
2014-06-27 11:48   ` Mark Brown
2014-06-20  9:58 ` [PATCH 03/16] ASoC: sgtl5000: " Sachin Kamat
2014-06-20  9:59 ` [PATCH 04/16] ASoC: sta529: " Sachin Kamat
2014-06-20  9:59 ` [PATCH 05/16] ASoC: tlv320aic3x: " Sachin Kamat
2014-06-20  9:59 ` [PATCH 06/16] ASoC: tpa6130a2: " Sachin Kamat
2014-06-20  9:59 ` [PATCH 07/16] ASoC: twl4030: " Sachin Kamat
2014-06-20  9:59 ` [PATCH 08/16] ASoC: wl1273: " Sachin Kamat
2014-06-20  9:59 ` [PATCH 09/16] ASoC: wm0010: " Sachin Kamat
2014-06-20 14:59   ` Charles Keepax
2014-06-20  9:59 ` [PATCH 10/16] ASoC: wm1250-ev1: " Sachin Kamat
2014-06-20 15:00   ` Charles Keepax
2014-06-20  9:59 ` [PATCH 11/16] ASoC: wm2000: " Sachin Kamat
2014-06-20 15:01   ` Charles Keepax
2014-06-20  9:59 ` [PATCH 12/16] ASoC: wm8904: " Sachin Kamat
2014-06-20 15:04   ` Charles Keepax
2014-06-20  9:59 ` [PATCH 13/16] ASoC: wm8958: " Sachin Kamat
2014-06-20 15:05   ` Charles Keepax
2014-06-20  9:59 ` [PATCH 14/16] ASoC: wm8994: " Sachin Kamat
2014-06-20 15:06   ` Charles Keepax
2014-06-20  9:59 ` [PATCH 15/16] ASoC: wm9090: " Sachin Kamat
2014-06-20 15:06   ` Charles Keepax
2014-06-20  9:59 ` [PATCH 16/16] ASoC: wm_hubs: " Sachin Kamat
2014-06-20 15:06   ` Charles Keepax
2014-06-20 11:04 ` [PATCH 01/16] ASoC: cs4270: " Rajeev kumar
2014-06-20 11:07   ` Lars-Peter Clausen
2014-06-20 14:50 ` Handrigan, Paul

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.