Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: tfa9879: switch to using .probe_new

Use the new probe style for i2c drivers.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Peter Rosin and committed by
Mark Brown
e3225939 42a2b674

+2 -3
+2 -3
sound/soc/codecs/tfa9879.c
··· 277 277 .ops = &tfa9879_dai_ops, 278 278 }; 279 279 280 - static int tfa9879_i2c_probe(struct i2c_client *i2c, 281 - const struct i2c_device_id *id) 280 + static int tfa9879_i2c_probe(struct i2c_client *i2c) 282 281 { 283 282 struct tfa9879_priv *tfa9879; 284 283 int i; ··· 318 319 .name = "tfa9879", 319 320 .of_match_table = tfa9879_of_match, 320 321 }, 321 - .probe = tfa9879_i2c_probe, 322 + .probe_new = tfa9879_i2c_probe, 322 323 .id_table = tfa9879_i2c_id, 323 324 }; 324 325