diff options
| author | Matt Ranostay <[email protected]> | 2022-10-01 00:52:06 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2022-10-18 13:00:01 +0000 |
| commit | deb3b88bbb7a197152aee1eb0157283a6914d504 (patch) | |
| tree | 39289be4b3b68c97ba40d9adb625121f133065b1 /drivers/fpga/microchip-spi.c | |
| parent | Merge tag 'for-linus-2022100501' of git://git.kernel.org/pub/scm/linux/kernel... (diff) | |
| download | kernel-deb3b88bbb7a197152aee1eb0157283a6914d504.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
