+@@ -142,6 +157,9 @@ static int gen_74x164_probe(struct spi_d
+ chip->gpio_chip.parent = &spi->dev;
+ chip->gpio_chip.owner = THIS_MODULE;
+
++ if (pdata && pdata->init_data)
++ memcpy(chip->buffer, pdata->init_data, chip->registers);
++
+ mutex_init(&chip->lock);
+
+ ret = __gen_74x164_write_config(chip);