Input: elants_i2c - switch to probe_new
authorTakashi Iwai <tiwai@suse.de>
Mon, 31 May 2021 04:44:04 +0000 (21:44 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 31 May 2021 04:53:50 +0000 (21:53 -0700)
commit45a4b68354ffccbc9ca71027bd34754ca24f5183
tree15f943954af89c990fc52e0a9e09bde1dcd10cd7
parentb9c0ebb867d67cc4e9e1a7a2abf0ac9a2cc02051
Input: elants_i2c - switch to probe_new

Now that we get rid of the usage of id argument at probe again, let's
switch to the new i2c probe method; this will avoid for people
misusing the possibly unassigned id pointer again.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20210528071024.26450-2-tiwai@suse.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/elants_i2c.c