projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
566da5b
)
Blackfin SPI driver: tweak spi cleanup function to match newer kernel changes
author
Mike Frysinger
<michael.frysinger@analog.com>
Mon, 11 Jun 2007 07:31:30 +0000
(15:31 +0800)
committer
Bryan Wu
<bryan.wu@analog.com>
Mon, 11 Jun 2007 07:31:30 +0000
(15:31 +0800)
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>
drivers/spi/spi_bfin5xx.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi_bfin5xx.c
b/drivers/spi/spi_bfin5xx.c
index 7d2d9ec6cac31ac3aac880027041427a9a6dbdb3..a2d4884752efb4a46f97b2d9fb743d9ce69dee2d 100644
(file)
--- a/
drivers/spi/spi_bfin5xx.c
+++ b/
drivers/spi/spi_bfin5xx.c
@@
-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);
}