mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
Blackfin SPI driver: tweak spi cleanup function to match newer kernel changes
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com> Cc: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
parent
566da5b266
commit
27bb9e79bc
1 changed files with 1 additions and 1 deletions
|
@ -1082,7 +1082,7 @@ static int setup(struct spi_device *spi)
|
|||
*/
|
||||
static void cleanup(struct spi_device *spi)
|
||||
{
|
||||
struct chip_data *chip = spi_get_ctldata((struct spi_device *)spi);
|
||||
struct chip_data *chip = spi_get_ctldata(spi);
|
||||
|
||||
kfree(chip);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue