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 @@ -207,8 +207,7 @@ static const struct of_device_id __maybe_unused max1586_of_match[] = {
207
207
};
208
208
MODULE_DEVICE_TABLE (of , max1586_of_match );
209
209
210
- static int max1586_pmic_probe (struct i2c_client * client ,
211
- const struct i2c_device_id * i2c_id )
210
+ static int max1586_pmic_probe (struct i2c_client * client )
212
211
{
213
212
struct max1586_platform_data * pdata , pdata_of ;
214
213
struct regulator_config config = { };
@@ -290,7 +289,7 @@ static const struct i2c_device_id max1586_id[] = {
290
289
MODULE_DEVICE_TABLE (i2c , max1586_id );
291
290
292
291
static struct i2c_driver max1586_pmic_driver = {
293
- .probe = max1586_pmic_probe ,
292
+ .probe_new = max1586_pmic_probe ,
294
293
.driver = {
295
294
.name = "max1586" ,
296
295
.of_match_table = of_match_ptr (max1586_of_match ),
You can’t perform that action at this time.
0 commit comments