OSDN Git Service

staging: vme: Move 'vme/devices/' to 'vme_user/'
authorBruno Moreira-Guedes <codeagain@codeagain.dev>
Thu, 21 Apr 2022 14:59:34 +0000 (11:59 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:47:29 +0000 (16:47 +0200)
commite36c9c00188458d4843d68cae947e64d99259b0e
treeee970b794683ee57932e5561dda303171f002fe8
parent3da709f3efe5557bf4af8dd4f1a02b1c854ad119
staging: vme: Move 'vme/devices/' to 'vme_user/'

In <db3b9e990e75573402cda22faf933760f076c033> ("Staging: VME: move VME
drivers out of staging") the vme code, board and bridge drivers were
moved out of the staging tree, remaining only the VME user device
driver.

Since this driver is the only one remaining in staging, such multi-level
structure confuses more than helps. The current structure is as follows:

 - drivers/staging/vme/
                       Makefile
                       devices/
                               Kconfig
                               Makefile
                               vme_user.c
                               vme_user.h

The top-level Makefile has the only function of calling another Makefile
into the devices/ subdirectory. This latter only compiles the vme_user
driver, since there is no other in the staging tree.

This patch removes the unnecessary Makefile from the 'vme/' dir, move
the contents of 'vme/devices' into the 'vme/' dir, and renames it to
'vme_user/' (the driver name), allowing a straightforward understanding
of this driver's contents. Furthermore, it updates the MAINTAINERS file
to properly reflect the new paths.

Signed-off-by: Bruno Moreira-Guedes <codeagain@codeagain.dev>
Link: https://lore.kernel.org/r/2cd7de9a426c443a5ea618682d605ecfd751d798.1650544175.git.codeagain@codeagain.dev
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MAINTAINERS
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/vme/Makefile [deleted file]
drivers/staging/vme_user/Kconfig [moved from drivers/staging/vme/devices/Kconfig with 100% similarity]
drivers/staging/vme_user/Makefile [moved from drivers/staging/vme/devices/Makefile with 100% similarity]
drivers/staging/vme_user/vme_user.c [moved from drivers/staging/vme/devices/vme_user.c with 100% similarity]
drivers/staging/vme_user/vme_user.h [moved from drivers/staging/vme/devices/vme_user.h with 100% similarity]