adau1761-spi.c (27fd38c5226ed0f1712d071880fa8e739eb78650) | adau1761-spi.c (5d76de61dd8cb89b7189ef7456fba921c547c398) |
---|---|
1/* 2 * Driver for ADAU1361/ADAU1461/ADAU1761/ADAU1961 codec 3 * 4 * Copyright 2014 Analog Devices Inc. 5 * Author: Lars-Peter Clausen <lars@metafoo.de> 6 * 7 * Licensed under the GPL-2. 8 */ --- 34 unchanged lines hidden (view full) --- 43 44 return adau1761_probe(&spi->dev, 45 devm_regmap_init_spi(spi, &config), 46 id->driver_data, adau1761_spi_switch_mode); 47} 48 49static int adau1761_spi_remove(struct spi_device *spi) 50{ | 1/* 2 * Driver for ADAU1361/ADAU1461/ADAU1761/ADAU1961 codec 3 * 4 * Copyright 2014 Analog Devices Inc. 5 * Author: Lars-Peter Clausen <lars@metafoo.de> 6 * 7 * Licensed under the GPL-2. 8 */ --- 34 unchanged lines hidden (view full) --- 43 44 return adau1761_probe(&spi->dev, 45 devm_regmap_init_spi(spi, &config), 46 id->driver_data, adau1761_spi_switch_mode); 47} 48 49static int adau1761_spi_remove(struct spi_device *spi) 50{ |
51 snd_soc_unregister_codec(&spi->dev); | 51 adau17x1_remove(&spi->dev); |
52 return 0; 53} 54 55static const struct spi_device_id adau1761_spi_id[] = { 56 { "adau1361", ADAU1361 }, 57 { "adau1461", ADAU1761 }, 58 { "adau1761", ADAU1761 }, 59 { "adau1961", ADAU1361 }, --- 29 unchanged lines hidden --- | 52 return 0; 53} 54 55static const struct spi_device_id adau1761_spi_id[] = { 56 { "adau1361", ADAU1361 }, 57 { "adau1461", ADAU1761 }, 58 { "adau1761", ADAU1761 }, 59 { "adau1961", ADAU1361 }, --- 29 unchanged lines hidden --- |