auxdisplay: lcd2s: Switch to i2c ->probe_new()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 8 Mar 2022 15:11:18 +0000 (17:11 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Fri, 18 Mar 2022 19:31:14 +0000 (20:31 +0100)
commit8fefb3134f3493bd2e5e26de308ebfbe8c562b8f
tree2a3cab9323f2dec5f081982ae1cd3d37fd617dc8
parentf15c3dea5ed75d6f646802656d97d779dd69e683
auxdisplay: lcd2s: Switch to i2c ->probe_new()

The deprecated i2c ->probe() functionality doesn't work with
OF compatible strings, as it only checks for the i2c device id.
While it's not a problem right now, it would still bring a
better code. Switch to the new way of probing.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
drivers/auxdisplay/lcd2s.c