Re: [RFC PATCH 2/2] mmc: add OpenFirmware bindings for the mmc_spi driver

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Anton Vorontsov <avorontsov@...>
Cc: Pierre Ossman <drzeus-mmc@...>, David Brownell <dbrownell@...>, Grant Likely <grant.likely@...>, <linuxppc-dev@...>, Gary Jennejohn <garyj@...>, Guennadi Liakhovetski <g.liakhovetski@...>, <linux-kernel@...>
Date: Friday, May 23, 2008 - 10:35 pm

Hi Anton,

On Fri, 23 May 2008 22:28:42 +0400 Anton Vorontsov <avorontsov@ru.mvista.co=
m> wrote:



If you delay this assignment, you may not have to clean it up in the
error path.


You should really explicitly include linux/of.h to use of_get_property etc


Maybe you should do this last so that you don't leak more than necessary
if mmc_spi_remove fails.  (I don't know what state mmc_spi_remove leaves
stuff in if it fails ...)


This is initialised by spi_register_driver().

--=20
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] OpenFirmware bindings for the MMC-over-SPI driver, Anton Vorontsov, (Fri May 23, 2:27 pm)
Re: [RFC PATCH 2/2] mmc: add OpenFirmware bindings for the m..., Segher Boessenkool, (Sat May 24, 7:06 pm)
Re: [RFC PATCH 2/2] mmc: add OpenFirmware bindings for the m..., Jochen Friedrich, (Sat May 24, 10:32 am)
Re: [RFC PATCH 2/2] mmc: add OpenFirmware bindings for the m..., Segher Boessenkool, (Sat May 24, 7:14 pm)
Re: [RFC PATCH 2/2] mmc: add OpenFirmware bindings for the m..., Stephen Rothwell, (Fri May 23, 10:35 pm)
[RFC PATCH 1/2] mmc_spi: export probe and remove functions, Anton Vorontsov, (Fri May 23, 2:28 pm)