clk: si570: use i2c_match_id and simple i2c probe
authorStephen Kitt <steve@sk2.org>
Thu, 7 Apr 2022 15:18:30 +0000 (17:18 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 23 Apr 2022 02:28:08 +0000 (19:28 -0700)
commit2b349b893def67fd3146055d720597d9cbef26be
treefd8f4e7cffb9f3b3a915c2a76391cc6e2e8d2132
parent32a5c1d383780f4ad4455f0d79ab999377f06a48
clk: si570: 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-10-steve@sk2.org
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk-si570.c