| .. | .. |
|---|
| 731 | 731 | * Chip has two I2C addresses for each satellite/terrestrial system. |
|---|
| 732 | 732 | * ISDB-T uses address ISDB-S + 4, so we register a dummy client. |
|---|
| 733 | 733 | */ |
|---|
| 734 | | - chip->client_t = i2c_new_dummy(client->adapter, client->addr + 4); |
|---|
| 735 | | - if (!chip->client_t) |
|---|
| 736 | | - return -ENODEV; |
|---|
| 734 | + chip->client_t = i2c_new_dummy_device(client->adapter, client->addr + 4); |
|---|
| 735 | + if (IS_ERR(chip->client_t)) |
|---|
| 736 | + return PTR_ERR(chip->client_t); |
|---|
| 737 | 737 | |
|---|
| 738 | 738 | chip->regmap_t = devm_regmap_init_i2c(chip->client_t, ®map_config); |
|---|
| 739 | 739 | if (IS_ERR(chip->regmap_t)) { |
|---|
| .. | .. |
|---|
| 800 | 800 | static struct i2c_driver mn88443x_driver = { |
|---|
| 801 | 801 | .driver = { |
|---|
| 802 | 802 | .name = "mn88443x", |
|---|
| 803 | | - .of_match_table = of_match_ptr(mn88443x_of_match), |
|---|
| 803 | + .of_match_table = mn88443x_of_match, |
|---|
| 804 | 804 | }, |
|---|
| 805 | 805 | .probe = mn88443x_probe, |
|---|
| 806 | 806 | .remove = mn88443x_remove, |
|---|