]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: atr: find_mapping() -> get_mapping()
authorCosmin Tanislav <demonsingur@gmail.com>
Wed, 7 May 2025 12:19:08 +0000 (15:19 +0300)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Thu, 22 May 2025 09:07:04 +0000 (11:07 +0200)
commit42a70dc49edfc230fe79e3e8141b5b8d537e7a91
treee23ad4619265c52063c1359e0931c17e76a68180
parentec8c1b92eaec3efebff717b5c13da3b5e87f2dcc
i2c: atr: find_mapping() -> get_mapping()

A find operation implies that a null result is not an error.

Use get naming to clarify things and to prepare for splitting up the
logic inside this function.

Signed-off-by: Cosmin Tanislav <demonsingur@gmail.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/i2c-atr.c