File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -145,8 +145,7 @@ static const struct regmap_config max8649_regmap_config = {
145
145
.val_bits = 8 ,
146
146
};
147
147
148
- static int max8649_regulator_probe (struct i2c_client * client ,
149
- const struct i2c_device_id * id )
148
+ static int max8649_regulator_probe (struct i2c_client * client )
150
149
{
151
150
struct max8649_platform_data * pdata = dev_get_platdata (& client -> dev );
152
151
struct max8649_regulator_info * info = NULL ;
@@ -247,7 +246,7 @@ static const struct i2c_device_id max8649_id[] = {
247
246
MODULE_DEVICE_TABLE (i2c , max8649_id );
248
247
249
248
static struct i2c_driver max8649_driver = {
250
- .probe = max8649_regulator_probe ,
249
+ .probe_new = max8649_regulator_probe ,
251
250
.driver = {
252
251
.name = "max8649" ,
253
252
},
You can’t perform that action at this time.
0 commit comments