nfc: pn533: drop ftrace-like debugging messages
[linux-2.6-microblaze.git] / drivers / nfc / pn533 / i2c.c
index 795da9b..bb04fdd 100644 (file)
@@ -174,9 +174,6 @@ static int pn533_i2c_probe(struct i2c_client *client,
        struct pn533 *priv;
        int r = 0;
 
-       dev_dbg(&client->dev, "%s\n", __func__);
-       dev_dbg(&client->dev, "IRQ: %d\n", client->irq);
-
        if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {
                nfc_err(&client->dev, "Need I2C_FUNC_I2C\n");
                return -ENODEV;
@@ -239,8 +236,6 @@ static int pn533_i2c_remove(struct i2c_client *client)
 {
        struct pn533_i2c_phy *phy = i2c_get_clientdata(client);
 
-       dev_dbg(&client->dev, "%s\n", __func__);
-
        free_irq(client->irq, phy);
 
        pn53x_unregister_nfc(phy->priv);
@@ -249,7 +244,7 @@ static int pn533_i2c_remove(struct i2c_client *client)
        return 0;
 }
 
-static const struct of_device_id of_pn533_i2c_match[] = {
+static const struct of_device_id of_pn533_i2c_match[] __maybe_unused = {
        { .compatible = "nxp,pn532", },
        /*
         * NOTE: The use of the compatibles with the trailing "...-i2c" is