i2c: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:44:46 +0000 (17:44 -0500)
committerWolfram Sang <wsa@kernel.org>
Tue, 10 Oct 2023 19:41:14 +0000 (21:41 +0200)
commit8cafbf26646a6f7b2e60a2b7e42fdb72825bba63
treec223557b8fec6ac57ea5ace0a2e3ba92f10dd3b4
parent0f75d486b9eee143220ecd187139b8b894b3383c
i2c: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mv64xxx.c
drivers/i2c/busses/i2c-omap.c
drivers/i2c/busses/i2c-pxa.c