pinctrl: Add an API to get the pinctrl pins if initialized
authorHanna Hawa <hhhawa@amazon.com>
Wed, 28 Dec 2022 16:48:12 +0000 (16:48 +0000)
committerWolfram Sang <wsa@kernel.org>
Fri, 20 Jan 2023 08:52:15 +0000 (09:52 +0100)
commit13e80244ca7e51d5eb7803f05e0579b11fc89048
tree34434250b5808097f3128b6e83683a984ba79687
parent5f451bef7522e2253154651600e4b925c14e2116
pinctrl: Add an API to get the pinctrl pins if initialized

Add an API to get the pinctrl pins if it was initialized before driver
probed. This API will be used in I2C core to get the device pinctrl
information for recovery state change.

Signed-off-by: Hanna Hawa <hhhawa@amazon.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
include/linux/pinctrl/devinfo.h