Home
last modified time | relevance | path

Searched hist:deb3b88bbb7a197152aee1eb0157283a6914d504 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/hid/
H A Dhid-mcp2221.cdiff deb3b88bbb7a197152aee1eb0157283a6914d504 Sat Oct 01 02:52:06 CEST 2022 Matt Ranostay <matt.ranostay@konsulko.com> 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>