stmpe-spi.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) stmpe-spi.c (356bbabade8e56efe2834159b5c062b8aff277dd)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * ST Microelectronics MFD: stmpe's spi client specific driver
4 *
5 * Copyright (C) ST Microelectronics SA 2011
6 *
7 * Author: Viresh Kumar <vireshk@kernel.org> for ST Microelectronics
8 */

--- 92 unchanged lines hidden (view full) ---

101
102 return stmpe_probe(&spi_ci, id->driver_data);
103}
104
105static int stmpe_spi_remove(struct spi_device *spi)
106{
107 struct stmpe *stmpe = spi_get_drvdata(spi);
108
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * ST Microelectronics MFD: stmpe's spi client specific driver
4 *
5 * Copyright (C) ST Microelectronics SA 2011
6 *
7 * Author: Viresh Kumar <vireshk@kernel.org> for ST Microelectronics
8 */

--- 92 unchanged lines hidden (view full) ---

101
102 return stmpe_probe(&spi_ci, id->driver_data);
103}
104
105static int stmpe_spi_remove(struct spi_device *spi)
106{
107 struct stmpe *stmpe = spi_get_drvdata(spi);
108
109 return stmpe_remove(stmpe);
109 stmpe_remove(stmpe);
110
111 return 0;
110}
111
112static const struct of_device_id stmpe_spi_of_match[] = {
113 { .compatible = "st,stmpe610", },
114 { .compatible = "st,stmpe801", },
115 { .compatible = "st,stmpe811", },
116 { .compatible = "st,stmpe1601", },
117 { .compatible = "st,stmpe2401", },

--- 44 unchanged lines hidden ---
112}
113
114static const struct of_device_id stmpe_spi_of_match[] = {
115 { .compatible = "st,stmpe610", },
116 { .compatible = "st,stmpe801", },
117 { .compatible = "st,stmpe811", },
118 { .compatible = "st,stmpe1601", },
119 { .compatible = "st,stmpe2401", },

--- 44 unchanged lines hidden ---