diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2022-09-30 17:52:06 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2022-10-18 15:00:01 +0200 |
commit | deb3b88bbb7a197152aee1eb0157283a6914d504 (patch) | |
tree | 39289be4b3b68c97ba40d9adb625121f133065b1 /drivers/hid/Kconfig | |
parent | 79d11de9637a37035b4a72ccb528b3dfebc1bf67 (diff) | |
download | lwn-deb3b88bbb7a197152aee1eb0157283a6914d504.tar.gz lwn-deb3b88bbb7a197152aee1eb0157283a6914d504.zip |
HID: mcp2221: switch i2c registration to devm functions
Switch from i2c_add_adapter() to resource managed devm_i2c_add_adapter()
for matching rest of driver initialization, and more concise code.
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/Kconfig')
0 files changed, 0 insertions, 0 deletions