diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-11-18 23:44:03 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2022-12-06 14:50:35 -0600 |
commit | 11b932815484fae85f5fe5a45d9fb856c102c2bc (patch) | |
tree | 6b9ac5df389fa0b08026a7d61cf5a11f213ca460 /net/ethernet | |
parent | 3c75ce7cc3a31cabe97ff3e5a0d7e97eda5a7a2d (diff) | |
download | linux-11b932815484fae85f5fe5a45d9fb856c102c2bc.tar.bz2 |
of: unittest: Convert to i2c's .probe_new()
In struct i2c_driver, field new_probe replaces the soon to be deprecated
field probe. Update unittest for this change. The probe function
doesn't make use of the i2c_device_id * parameter so it can be trivially
converted.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Link: https://lore.kernel.org/r/20221118224540.619276-510-uwe@kleine-koenig.org
[robh: Add Frank's commit msg addition]
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions