]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: isch: switch i2c registration to devm functions
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 16 Sep 2024 12:01:32 +0000 (15:01 +0300)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 13 Nov 2024 22:29:45 +0000 (23:29 +0100)
commitcc97ef79fc235fede65b02c08a9c9b93249622c9
tree943ee7591b6a7b65f96bf7652e183281cf585180
parentd8e1ac747c7469aff17f739fb667d1d40c9ee426
i2c: isch: 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-isch.c