clk: max9485: use simple i2c probe function
authorStephen Kitt <steve@sk2.org>
Thu, 7 Apr 2022 15:18:25 +0000 (17:18 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 23 Apr 2022 02:28:08 +0000 (19:28 -0700)
commit55349aedb5daa5ca8f14e485d069b0bb6ea483d5
treee6b589f8ae082925d277710343a17fef55cde888
parenteb5f909ac9e7a1e0c77b6a3b1514a4941efdefb5
clk: max9485: use simple i2c probe function

The i2c probe function here doesn't use the id information provided in
its second argument, so the single-parameter i2c probe function
("probe_new") can be used instead.

This avoids scanning the identifier tables during probes.

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