kernel-ark/drivers/spi
Hans-Peter Nilsson 0ffa028505 [PATCH] SPI cleanup() method param becomes non-const
I'd like to assign NULL to kfree()d members of a structure.  I can't do
that without ugly casting (see the PXA patch) when the structure pointed to
is const-qualified.  I don't really see a reason why the cleanup method
isn't allowed to alter the object it should clean up.  :-)

No, I didn't test the PXA patch, but I verified that the NULL-assignment
doesn't stop me from doing rmmod/insmodding my own spi_bitbang-based
driver.

Signed-off-by: Hans-Peter Nilsson <hp@axis.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-12 09:48:31 -08:00
..
Kconfig [PATCH] SPI: Freescale iMX SPI controller driver (BIS+) 2007-02-12 09:48:30 -08:00
Makefile [PATCH] SPI: Freescale iMX SPI controller driver (BIS+) 2007-02-12 09:48:30 -08:00
omap_uwire.c [PATCH] SPI controller driver for OMAP Microwire 2007-02-12 09:48:30 -08:00
pxa2xx_spi.c [PATCH] SPI cleanup() method param becomes non-const 2007-02-12 09:48:31 -08:00
spi_bitbang.c [PATCH] SPI cleanup() method param becomes non-const 2007-02-12 09:48:31 -08:00
spi_butterfly.c Revert "Driver core: convert SPI code to use struct device" 2007-02-07 21:34:08 -08:00
spi_imx.c [PATCH] SPI: Freescale iMX SPI controller driver (BIS+) 2007-02-12 09:48:30 -08:00
spi_mpc83xx.c [PATCH] SPI: define null tx_buf to mean "shift out zeroes" 2006-12-30 10:56:42 -08:00
spi_s3c24xx_gpio.c [PATCH] spi_s3c24xx_gpio: use right header 2006-12-30 10:56:43 -08:00
spi_s3c24xx.c [PATCH] S3C24XX: fix passing spi chipselect to select routine 2007-01-26 13:50:57 -08:00
spi.c [PATCH] SPI cleanup() method param becomes non-const 2007-02-12 09:48:31 -08:00