This patch series aims to add match data improvements for mcp23s08 driver. This patch series is only compile tested. v3->v4: * Added Rb tag from Andy for patch#3 * Removed duplicate mcp23s08 in the name of variables for struct mcp23s08_info. v2->v3: * Reordered patch#3->patch#2 * Added Rb tag from Andy for patch#1 and #2. * Added struct mcp23s08_info in pinctrl-mcp23s08.h and both i2c and spi drivers using same match data structure. 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 (3): pinctrl: mcp23s08_i2c: Extend match support for OF tables pinctrl: mcp23s08_spi: Simplify probe() pinctrl: mcp23s08: Simplify probe()/mcp23s08_spi_regmap_init() drivers/pinctrl/pinctrl-mcp23s08.h | 8 +++ drivers/pinctrl/pinctrl-mcp23s08_i2c.c | 93 +++++++++++------------- drivers/pinctrl/pinctrl-mcp23s08_spi.c | 97 ++++++++++++-------------- 3 files changed, 95 insertions(+), 103 deletions(-) -- 2.25.1