OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
7d2d9ec
..
a2d4884
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);
}