.val_bits = 8,
};
-static int max8649_regulator_probe(struct i2c_client *client,
- const struct i2c_device_id *id)
+static int max8649_regulator_probe(struct i2c_client *client)
{
struct max8649_platform_data *pdata = dev_get_platdata(&client->dev);
struct max8649_regulator_info *info = NULL;
MODULE_DEVICE_TABLE(i2c, max8649_id);
static struct i2c_driver max8649_driver = {
- .probe = max8649_regulator_probe,
+ .probe_new = max8649_regulator_probe,
.driver = {
.name = "max8649",
},