sf: Remove spi_flash_remove
authorJagan Teki <jteki@openedev.com>
Mon, 14 Dec 2015 03:32:06 +0000 (09:02 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:26 +0000 (18:47 +0530)
commit11c579bc9cd3ecae1d913565f7a69e7b99de302d
tree1b11bf11a99e31ee085a83d1fe89dffa489fb93d
parent6f3096585b6b61c115074a7e959cbe6f74d8e45d
sf: Remove spi_flash_remove

Use direct call to device_remove instead of exctra
spi_flash_remove defination.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf-uclass.c
include/spi_flash.h