summaryrefslogtreecommitdiff
path: root/drivers/hid/Kconfig
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2022-09-30 17:52:06 -0700
committerJiri Kosina <jkosina@suse.cz>2022-10-18 15:00:01 +0200
commitdeb3b88bbb7a197152aee1eb0157283a6914d504 (patch)
tree39289be4b3b68c97ba40d9adb625121f133065b1 /drivers/hid/Kconfig
parent79d11de9637a37035b4a72ccb528b3dfebc1bf67 (diff)
downloadlwn-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