浏览代码

Merge tag 'spi-falcon-no-board-check' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi into 4.14-features

spi: Remove board check from the Falcon driver

MIPS is removing this board check so support a cross tree merge.
Ralf Baechle 8 年之前
父节点
当前提交
35eed7cb2c
共有 1 个文件被更改,包括 0 次插入5 次删除
  1. 0 5
      drivers/spi/spi-falcon.c

+ 0 - 5
drivers/spi/spi-falcon.c

@@ -395,11 +395,6 @@ static int falcon_sflash_probe(struct platform_device *pdev)
 	struct spi_master *master;
 	int ret;
 
-	if (ltq_boot_select() != BS_SPI) {
-		dev_err(&pdev->dev, "invalid bootstrap options\n");
-		return -ENODEV;
-	}
-
 	master = spi_alloc_master(&pdev->dev, sizeof(*priv));
 	if (!master)
 		return -ENOMEM;