spi: Remove board check from the Falcon driver
MIPS is removing this board check so support a cross tree merge. -----BEGIN PGP SIGNATURE----- iQFHBAABCAAxFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlmpjMETHGJyb29uaWVA a2VybmVsLm9yZwAKCRAk1otyXVSH0NX9B/0SAKFQnfeASg+aZqkPCZjvfSi24LPF NJ7B4tDdG9/xb09ntLMlILEBXb6psmhZFUXsRojfOUDjeDtWcxzjprFADosX68Js 0HLTnL5rZmycpkS4aZISOu59zhyuLW0EuGgokL8+QagezA0GMSi+h7/F8emO1AUy iOSCQypgyMSIOKDN6xGyrlwfHdNGeix6sq7t21jw5zi9Oi3iEl/zDdzmH9GaiaNs Nbm+NqcOrVVoUwxGVM8Gbja8vR/EdWTOv1Rf3OXljv2bACCeAKQ+2sRFq23FMePp 8V0udNxVlXS1r7ZFEq71gHeSQfzgc2h3dQbZa6jEmTw3zsGx+9G89Nkr =Iq3g -----END PGP SIGNATURE----- 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.
This commit is contained in:
commit
35eed7cb2c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue