OSDN Git Service

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

There is no need for a subdirectory for just a single .c file.  So move
it out of kpc_i2c/ 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_i2c.c [moved from drivers/staging/kpc2000/kpc_i2c/i2c_driver.c with 99% similarity]
drivers/staging/kpc2000/kpc_i2c/Makefile [deleted file]