Commit deae5764 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Dmitry Torokhov
parent 05b84650
...@@ -145,8 +145,7 @@ static irqreturn_t exc3000_interrupt(int irq, void *dev_id) ...@@ -145,8 +145,7 @@ static irqreturn_t exc3000_interrupt(int irq, void *dev_id)
return IRQ_HANDLED; return IRQ_HANDLED;
} }
static int exc3000_probe(struct i2c_client *client, static int exc3000_probe(struct i2c_client *client)
const struct i2c_device_id *id)
{ {
struct exc3000_data *data; struct exc3000_data *data;
struct input_dev *input; struct input_dev *input;
...@@ -210,7 +209,7 @@ static struct i2c_driver exc3000_driver = { ...@@ -210,7 +209,7 @@ static struct i2c_driver exc3000_driver = {
.of_match_table = of_match_ptr(exc3000_of_match), .of_match_table = of_match_ptr(exc3000_of_match),
}, },
.id_table = exc3000_id, .id_table = exc3000_id,
.probe = exc3000_probe, .probe_new = exc3000_probe,
}; };
module_i2c_driver(exc3000_driver); module_i2c_driver(exc3000_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment