Re: [PATCH 8/8] NFC: Add Intel FieldsPeak NFC solution driver

From: Mika Westerberg
Date: Thu Mar 26 2015 - 09:46:09 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/