]> Pileus Git - ~andy/linux/blobdiff - drivers/spi/pxa2xx_spi_pci.c
driver-core: remove conditionals around devicetree pointers
[~andy/linux] / drivers / spi / pxa2xx_spi_pci.c
index 351d8a375b57c33ee36021f1050ae103567c3bb6..b6589bb3a6c3772012acf507622ba560b2be74ed 100644 (file)
@@ -98,9 +98,7 @@ static int __devinit ce4100_spi_probe(struct pci_dev *dev,
        pdev->dev.parent = &dev->dev;
        pdev->dev.platform_data = &spi_info->spi_pdata;
 
-#ifdef CONFIG_OF
        pdev->dev.of_node = dev->dev.of_node;
-#endif
        pdev->dev.release = plat_dev_release;
 
        spi_pdata->num_chipselect = dev->devfn;