pinctrl: sx150x: allow build when I2C is a module

PINCTRL_SX150X currently depends on I2C=y. This prevents the driver
from being built when I2C is configured as module.

Change the Kconfig dependency to just I2C so sx150x can be built as a
module when I2C is also a module.

Signed-off-by: Tsz Shan Chan <tchan@jacques.com.au>
Signed-off-by: Linus Walleij <linusw@kernel.org>
This commit is contained in:
Tsz Shan Chan 2026-07-31 17:18:45 +10:00 • committed by Linus Walleij
commit dbbb19b8e4