mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 00:39:48 +00:00
Merge remote-tracking branch 'spi/fix/clps711x' into spi-devm
This commit is contained in:
commit
13e92b5b1e
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue