]> git.baikalelectronics.ru Git - kernel.git/commit
eeprom: ee1004: use module_i2c_driver to simplify the code
authorLiu Shixin <liushixin2@huawei.com>
Fri, 18 Sep 2020 03:02:25 +0000 (11:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2020 09:36:37 +0000 (11:36 +0200)
commite03722d28423ff800e368786bbe66cf1ef25825e
treeb47fddb4bed5a90609056ce20248cbf8e9e54e0c
parenteaa5d219c2e291809975192e06286c8ead9f1bee
eeprom: ee1004: 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: Liu Shixin <liushixin2@huawei.com>
Link: https://lore.kernel.org/r/20200918030225.3902750-1-liushixin2@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/ee1004.c