[U-Boot] [PATCH v2 07/17] dm: spi: Use device_bind_driver() instead of our own function

Heiko Schocher hs at denx.de
Mon Nov 17 07:29:34 CET 2014


Hello Simon,

Am 11.11.2014 18:46, schrieb Simon Glass:
> The SPI function does the same thing, so we may as well just use the new
> generic function. The 'cs' parameter was not actually used, so can be
> dropped.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2:
> - Add new patches to adjust SPI to use device_bind_driver()
>
>   drivers/mtd/spi/sandbox.c |  2 +-
>   drivers/spi/spi-uclass.c  | 23 +----------------------
>   include/spi.h             | 14 --------------
>   3 files changed, 2 insertions(+), 37 deletions(-)

Acked-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list