/* * es8328.c -- ES8328 ALSA SoC SPI Audio driver * * Copyright 2014 Sutajio Ko-Usagi PTE LTD * * Author: Sean Cross * * 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 "es8328.h" static const struct of_device_id es8328_of_match[] = { { .compatible = "everest,es8328", }, { } }; MODULE_DEVICE_TABLE(of, es8328_of_match); static int es8328_spi_probe(struct spi_device *spi) { return es8328_probe(&spi->dev, devm_regmap_init_spi(spi, &es8328_regmap_config)); } static int es8328_spi_remove(struct spi_device *spi) { snd_soc_unregister_codec(&spi->dev); return 0; } static struct spi_driver es8328_spi_driver = { .driver = { .name = "es8328", .of_match_table = es8328_of_match, }, .probe = es8328_spi_probe, .remove = es8328_spi_remove, }; module_spi_driver(es8328_spi_driver); MODULE_DESCRIPTION("ASoC ES8328 audio CODEC SPI driver"); MODULE_AUTHOR("Sean Cross "); MODULE_LICENSE("GPL"); lue='packet-loop-back'>packet-loop-back net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
ion value='6'>6
AgeCommit message (Expand)AuthorFilesLines
space:
mode:
authorPhilippe Reynes <tremyfr@gmail.com>2017-01-02 20:47:27 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-02 16:59:10 -0500
commit0a0a8d6b0e88d947d7ab3198b325e31f677bebc2 (patch)
tree504ec8a8d6f48d40a4851f7f4789dc07d56fb4d3 /sound/parisc/harmony.h
parent9da12b6454c4a762077fc33b56bdfd49acdae3ae (diff)
net: fealnx: use new api ethtool_{get|set}_link_ksettings
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes <tremyfr@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/parisc/harmony.h')