OSDN Git Service

staging: kpc2000: move the spi driver out of its subdirectory
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2019 08:47:13 +0000 (10:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2019 06:14:18 +0000 (08:14 +0200)
commitf900d81cb960097524be3705b050b60aa5959a83
treee368981c61d9eea9d0bf6bb2be6318619ab0b8b1
parent64038897602f12555211c2914b1267fed8e10257
staging: kpc2000: move the spi driver out of its subdirectory

There is no need for a subdirectory for just a single .c file.  So move
it out of kpc_spi/ and rename it to the module name that we want the
file to build to, saving one more linking stage.

Cc: Matt Sickler <Matt.Sickler@daktronics.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/Makefile
drivers/staging/kpc2000/kpc2000_spi.c [moved from drivers/staging/kpc2000/kpc_spi/spi_driver.c with 99% similarity]
drivers/staging/kpc2000/kpc_spi/Makefile [deleted file]