Merge remote-tracking branch 'spi/topic/hspi' into spi-next
authorMark Brown <broonie@linaro.org>
Fri, 25 Oct 2013 08:51:28 +0000 (09:51 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 25 Oct 2013 08:51:28 +0000 (09:51 +0100)
1  2 
drivers/spi/spi-sh-hspi.c

index 7e749a22f51e8c6c22fae89742263e1afbc46424,8a147d92f9eb23cea5dbc8bc608c962d3cf419f5..292567ab4c6c41df0eb981c8692d0454e98bf8ed
@@@ -303,9 -303,10 +303,10 @@@ static int hspi_probe(struct platform_d
        master->setup           = hspi_setup;
        master->cleanup         = hspi_cleanup;
        master->mode_bits       = SPI_CPOL | SPI_CPHA;
+       master->dev.of_node     = pdev->dev.of_node;
        master->auto_runtime_pm = true;
        master->transfer_one_message            = hspi_transfer_one_message;
 -      ret = spi_register_master(master);
 +      ret = devm_spi_register_master(&pdev->dev, master);
        if (ret < 0) {
                dev_err(&pdev->dev, "spi_register_master error.\n");
                goto error1;