]> git.baikalelectronics.ru Git - kernel.git/commit
auxdisplay: lcd2s: use module_i2c_driver to simplify the code
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 8 Mar 2022 15:11:17 +0000 (17:11 +0200)
committerMiguel Ojeda <ojeda@kernel.org>
Fri, 18 Mar 2022 19:31:14 +0000 (20:31 +0100)
commit326d8bf85ddf39c69937cb1c735216bcf7672cec
tree59438c237c4ac9c01b074716b7d47309a4e24d01
parentf9b4656a3a392211cc19af226ed9837b1fef340e
auxdisplay: lcd2s: use module_i2c_driver to simplify the code

Use the module_i2c_driver() macro to make the code smaller
and a bit simpler.

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