[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150326134555.GL1878@lahna.fi.intel.com>
Date: Thu, 26 Mar 2015 15:45:55 +0200
From: Mika Westerberg <mika.westerberg@...ux.intel.com>
To: Robert Dolca <robert.dolca@...el.com>
Cc: linux-nfc@...ts.01.org,
Lauro Ramos Venancio <lauro.venancio@...nbossa.org>,
Aloisio Almeida Jr <aloisio.almeida@...nbossa.org>,
Samuel Ortiz <sameo@...ux.intel.com>,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 8/8] NFC: Add Intel FieldsPeak NFC solution driver
On Tue, Feb 24, 2015 at 12:01:52PM +0200, Robert Dolca wrote:
> +static struct i2c_device_id fdp_nci_i2c_id_table[] = {
> + {"INT339A", 0},
If this is ACPI only device you can remove the above line.
> + {}
> +};
> +
> +MODULE_DEVICE_TABLE(i2c, fdp_nci_i2c_id_table);
And this as well.
> +
> +
> +static const struct acpi_device_id fdp_nci_i2c_acpi_match[] = {
> + {"INT339A", 0},
> + {}
> +};
> +
> +static struct i2c_driver fdp_nci_i2c_driver = {
> + .driver = {
> + .name = FDP_NCI_I2C_DRIVER_NAME,
> + .owner = THIS_MODULE,
> + .acpi_match_table = ACPI_PTR(fdp_nci_i2c_acpi_match),
> + },
> + .id_table = fdp_nci_i2c_id_table,
> + .probe = fdp_nci_i2c_probe,
> + .remove = fdp_nci_i2c_remove,
> +};
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists