spi.c (caf6e49bf6d02e6bb94df680bbe3beaf680fdefa) spi.c (d8e018c0b3211902af1bfb5d5b280f955a4633b7)
1/**
2 * Marvell NFC-over-SPI driver: SPI interface related functions
3 *
4 * Copyright (C) 2015, Marvell International Ltd.
5 *
6 * This software file (the "File") is distributed by Marvell International
7 * Ltd. under the terms of the GNU General Public License Version 2, June 1991
8 * (the "License"). You may use, redistribute and/or modify this File in

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

194{
195 struct nfcmrvl_spi_drv_data *drv_data = spi_get_drvdata(spi);
196
197 nfcmrvl_nci_unregister_dev(drv_data->priv);
198 return 0;
199}
200
201static const struct of_device_id of_nfcmrvl_spi_match[] = {
1/**
2 * Marvell NFC-over-SPI driver: SPI interface related functions
3 *
4 * Copyright (C) 2015, Marvell International Ltd.
5 *
6 * This software file (the "File") is distributed by Marvell International
7 * Ltd. under the terms of the GNU General Public License Version 2, June 1991
8 * (the "License"). You may use, redistribute and/or modify this File in

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

194{
195 struct nfcmrvl_spi_drv_data *drv_data = spi_get_drvdata(spi);
196
197 nfcmrvl_nci_unregister_dev(drv_data->priv);
198 return 0;
199}
200
201static const struct of_device_id of_nfcmrvl_spi_match[] = {
202 { .compatible = "mrvl,nfc-spi", },
202 { .compatible = "marvell,nfc-spi", },
203 {},
204};
205MODULE_DEVICE_TABLE(of, of_nfcmrvl_spi_match);
206
207static const struct spi_device_id nfcmrvl_spi_id_table[] = {
208 { "nfcmrvl_spi", 0 },
209 { }
210};

--- 18 unchanged lines hidden ---
203 {},
204};
205MODULE_DEVICE_TABLE(of, of_nfcmrvl_spi_match);
206
207static const struct spi_device_id nfcmrvl_spi_id_table[] = {
208 { "nfcmrvl_spi", 0 },
209 { }
210};

--- 18 unchanged lines hidden ---