pcm512x-spi.c (4f2c0a4acffbec01079c28f839422e64ddeff004) | pcm512x-spi.c (9c9b172fdd918c2f852140fc4a3cd827b78fa947) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Driver for the PCM512x CODECs 4 * 5 * Author: Mark Brown <broonie@kernel.org> 6 * Copyright 2014 Linaro Ltd 7 */ 8 --- 22 unchanged lines hidden (view full) --- 31 pcm512x_remove(&spi->dev); 32} 33 34static const struct spi_device_id pcm512x_spi_id[] = { 35 { "pcm5121", }, 36 { "pcm5122", }, 37 { "pcm5141", }, 38 { "pcm5142", }, | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Driver for the PCM512x CODECs 4 * 5 * Author: Mark Brown <broonie@kernel.org> 6 * Copyright 2014 Linaro Ltd 7 */ 8 --- 22 unchanged lines hidden (view full) --- 31 pcm512x_remove(&spi->dev); 32} 33 34static const struct spi_device_id pcm512x_spi_id[] = { 35 { "pcm5121", }, 36 { "pcm5122", }, 37 { "pcm5141", }, 38 { "pcm5142", }, |
39 { "pcm5242", }, |
|
39 { }, 40}; 41MODULE_DEVICE_TABLE(spi, pcm512x_spi_id); 42 43static const struct of_device_id pcm512x_of_match[] = { 44 { .compatible = "ti,pcm5121", }, 45 { .compatible = "ti,pcm5122", }, 46 { .compatible = "ti,pcm5141", }, 47 { .compatible = "ti,pcm5142", }, | 40 { }, 41}; 42MODULE_DEVICE_TABLE(spi, pcm512x_spi_id); 43 44static const struct of_device_id pcm512x_of_match[] = { 45 { .compatible = "ti,pcm5121", }, 46 { .compatible = "ti,pcm5122", }, 47 { .compatible = "ti,pcm5141", }, 48 { .compatible = "ti,pcm5142", }, |
49 { .compatible = "ti,pcm5242", }, |
|
48 { } 49}; 50MODULE_DEVICE_TABLE(of, pcm512x_of_match); 51 52static struct spi_driver pcm512x_spi_driver = { 53 .probe = pcm512x_spi_probe, 54 .remove = pcm512x_spi_remove, 55 .id_table = pcm512x_spi_id, --- 12 unchanged lines hidden --- | 50 { } 51}; 52MODULE_DEVICE_TABLE(of, pcm512x_of_match); 53 54static struct spi_driver pcm512x_spi_driver = { 55 .probe = pcm512x_spi_probe, 56 .remove = pcm512x_spi_remove, 57 .id_table = pcm512x_spi_id, --- 12 unchanged lines hidden --- |