/* * ALSA SoC TLV320AIC23 codec driver SPI interface * * Author: Arun KS, * Copyright: (C) 2008 Mistral Solutions Pvt Ltd., * * Based on sound/soc/codecs/wm8731.c by Richard Purdie * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include #include #include #include #include "tlv320aic23.h" static int aic23_spi_probe(struct spi_device *spi) { int ret; struct regmap *regmap; dev_dbg(&spi->dev, "probing tlv320aic23 spi device\n"); spi->mode = SPI_MODE_0; ret = spi_setup(spi); if (ret < 0) return ret; regmap = devm_regmap_init_spi(spi, &tlv320aic23_regmap); return tlv320aic23_probe(&spi->dev, regmap); } static int aic23_spi_remove(struct spi_device *spi) { snd_soc_unregister_codec(&spi->dev); return 0; } static struct spi_driver aic23_spi = { .driver = { .name = "tlv320aic23", }, .probe = aic23_spi_probe, .remove = aic23_spi_remove, }; module_spi_driver(aic23_spi); MODULE_DESCRIPTION("ASoC TLV320AIC23 codec driver SPI"); MODULE_AUTHOR("Arun KS "); MODULE_LICENSE("GPL"); ='submit' value='switch'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-10-20 15:44:19 +0200
committerTobias Klauser <tklauser@distanz.ch>2017-02-15 10:34:18 +0100
commit5db4992d8f040b8d8db0b86d42806e0c417f7ccf (patch)
tree5b06e952af482d45f3ade64e77824662e34b7fa2 /Documentation/media/uapi/dvb/dmx-start.rst
parent370ebb0ef6255132373ed35d13e7b1d8d2eb7003 (diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'Documentation/media/uapi/dvb/dmx-start.rst')