From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Mon, 17 Nov 2014 07:29:34 +0100 Subject: [U-Boot] [PATCH v2 07/17] dm: spi: Use device_bind_driver() instead of our own function In-Reply-To: <1415727993-22032-8-git-send-email-sjg@chromium.org> References: <1415727993-22032-1-git-send-email-sjg@chromium.org> <1415727993-22032-8-git-send-email-sjg@chromium.org> Message-ID: <546995CE.2000608@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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 bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany