]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit4292aa977f5eda0bce4a2c221260e7c2014cb0c2
treeb47fddb4bed5a90609056ce20248cbf8e9e54e0c
parent03c95e591a894a5213aed4e0f2c434df1047e595
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