clk: cdce925: use i2c_match_id and simple i2c probe
authorStephen Kitt <steve@sk2.org>
Thu, 7 Apr 2022 15:18:23 +0000 (17:18 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 23 Apr 2022 02:28:07 +0000 (19:28 -0700)
commitdf221682075d174e04cbbded27a25c64fedc3526
tree16e004fb40fa65efcd2b0ae0a335267323a1ad9e
parentf9edf134d75d78d3e54f3a13d9d493e86c0599fa
clk: cdce925: use i2c_match_id and simple i2c probe

As part of the ongoing i2c transition to the simple probe
("probe_new"), this patch uses i2c_match_id to retrieve the
driver_data for the probed device. The id parameter is thus no longer
necessary and the simple probe can be used instead.

Signed-off-by: Stephen Kitt <steve@sk2.org>
Link: https://lore.kernel.org/r/20220407151831.2371706-3-steve@sk2.org
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-cdce925.c