This patch series aims to add match data improvements for mcp23s08 driver. This patch series is only compile tested. v1->v2: * Arranged variable declaration in reverse xmas tree for patch#1. * Updated commit description for patch#2. * Dropped printing 'type' in error path for i2c_get_match_data(). * Added similar simplification for SPI driver. Biju Das (4): pinctrl: mcp23s08_i2c: Extend match support for OF tables pinctrl: mcp23s08_i2c: Simplify probe() pinctrl: mcp23s08_spi: Simplify probe() pinctrl: mcp23s08_spi: Simplify mcp23s08_spi_regmap_init() drivers/pinctrl/pinctrl-mcp23s08_i2c.c | 101 ++++++++++++------------- drivers/pinctrl/pinctrl-mcp23s08_spi.c | 101 +++++++++++++------------ 2 files changed, 100 insertions(+), 102 deletions(-) -- 2.25.1