i2c: sun6i_p2wi: Only do non-DM pin setup for non-DM I2C
authorSamuel Holland <samuel@sholland.org>
Thu, 21 Oct 2021 04:01:29 +0000 (23:01 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 4 Apr 2022 22:24:16 +0000 (23:24 +0100)
commit923d89316ae6e48a4ce5abd4324c74aae38dddde
tree7343892004d3639f03bf129e4ede22dd6c2a8983
parentaadf3d53830c9ce0787ed6d9c711141d17f9ad29
i2c: sun6i_p2wi: Only do non-DM pin setup for non-DM I2C

When the DM_I2C driver is loaded, the pin setup is done automatically
from the device tree by the pinctrl driver.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/i2c/sun6i_p2wi.c