Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [asoc:topic/tas2552 1/8] sound/soc/codecs/tas2552.c:493:27-28: Unneeded semicolon
@ 2015-06-04 19:21 kbuild test robot
  2015-06-05  6:50 ` Peter Ujfalusi
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2015-06-04 19:21 UTC (permalink / raw)
  To: Peter Ujfalusi; +Cc: alsa-devel, Mark Brown, kbuild-all

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/tas2552
head:   16bd395259cf3e9966d40478891e0e610da109d4
commit: ea178d1456dcf88875d5edd148f2df8ea0de1794 [1/8] ASoC: tas2552: Make the enable-gpio really optional


coccinelle warnings: (new ones prefixed by >>)

>> sound/soc/codecs/tas2552.c:493:27-28: Unneeded semicolon

vim +493 sound/soc/codecs/tas2552.c

   477	{
   478		struct device *dev;
   479		struct tas2552_data *data;
   480		int ret;
   481		int i;
   482	
   483		dev = &client->dev;
   484		data = devm_kzalloc(&client->dev, sizeof(*data), GFP_KERNEL);
   485		if (data == NULL)
   486			return -ENOMEM;
   487	
   488		data->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW);
   489		if (IS_ERR(data->enable_gpio)) {
   490			if (PTR_ERR(data->enable_gpio) == -EPROBE_DEFER)
   491				return -EPROBE_DEFER;
   492	
 > 493			data->enable_gpio = NULL;;
   494		}
   495	
   496		data->tas2552_client = client;
   497		data->regmap = devm_regmap_init_i2c(client, &tas2552_regmap_config);
   498		if (IS_ERR(data->regmap)) {
   499			ret = PTR_ERR(data->regmap);
   500			dev_err(&client->dev, "Failed to allocate register map: %d\n",
   501				ret);

---
0-DAY kernel test infrastructure                Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

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

end of thread, other threads:[~2015-06-05  6:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-04 19:21 [asoc:topic/tas2552 1/8] sound/soc/codecs/tas2552.c:493:27-28: Unneeded semicolon kbuild test robot
2015-06-05  6:50 ` Peter Ujfalusi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox