mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-07 10:45:13 +07: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