This series include two changes: 1. Adding new API to get the device pinctrl information when it's initialized before device probed. 2. Make the i2c init recovery to get the device pins if it's not initialized by the driver from the device pins. Change Log v4->v5: - Fix include misplaced - Update variable set order to reduce one line - Add Reviewed-by: Andy Shevchenko Change Log v3->v4: - Split the change into 2 commits - Add cover letter and remove change log from commit message - Fix compilation failure when CONFIG_PINCTRL is not defined Reported-by: kernel test robot <lkp@xxxxxxxxx> Change Log v2->v3: - Add API to get the device pinctrl - Make the i2c init recovery to get the device pins Change Log v1->v2: - set the rinfo->pinctrl to dev->pins->p instead calling devm_pinctrl_get() Hanna Hawa (2): pinctrl: Add an API to get the pinctrl pins if initialized i2c: Set i2c pinctrl recovery info from it's device pinctrl drivers/i2c/i2c-core-base.c | 5 ++++- include/linux/pinctrl/devinfo.h | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) -- 2.38.1