mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
Merge remote-tracking branch 'spi/fix/clps711x' into spi-devm
This commit is contained in:
commit
13e92b5b1e
|
|
@ -247,7 +247,6 @@ static int spi_clps711x_probe(struct platform_device *pdev)
|
|||
gpio_free(hw->chipselect[i]);
|
||||
|
||||
spi_master_put(master);
|
||||
kfree(master);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
@ -263,7 +262,6 @@ static int spi_clps711x_remove(struct platform_device *pdev)
|
|||
gpio_free(hw->chipselect[i]);
|
||||
|
||||
spi_unregister_master(master);
|
||||
kfree(master);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user