mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
comedi: remove editor modelines and cruft (again)
Commitfa60ce2cb4
("treewide: remove editor modelines and cruft") is different from what I submitted. My original patch [1] did treewide cleanups including the comedi driver. Unfortunately, commit8ffdff6a8c
("staging: comedi: move out of staging directory") moved drivers/staging/comedi/ to drivers/comedi/ before my patch landed on Linus' tree from akpm tree. If Andrew Morton had used Git, 'git merge' would have resolved such file moves properly without any manual intervention. Patches in akpm tree often get broken in his quilt workflows, and then people end up with sending fixup patches. [1] https://lkml.kernel.org/r/20210324054457.1477489-1-masahiroy@kernel.org Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Link: https://lore.kernel.org/r/20210510063450.412055-1-masahiroy@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6efb943b86
commit
7d5b2cbe7a
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routes.c
|
||||
* Route information for NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routes.h
|
||||
* Route information for NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/all.h
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6070e.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6220.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6221.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6229.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6251.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6254.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6259.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6534.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6602.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6713.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6723.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pci-6733.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pxi-6030e.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pxi-6224.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pxi-6225.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pxi-6251.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pxi-6733.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pxie-6251.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pxie-6535.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_device_routes/pxie-6738.c
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_route_values.c
|
||||
* Route information for NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_route_values.h
|
||||
* Route information for NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_route_values/all.h
|
||||
* List of valid routes for specific NI boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_route_values/ni_660x.c
|
||||
* Route information for NI_660X boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_route_values/ni_eseries.c
|
||||
* Route information for NI_ESERIES boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/ni_route_values/ni_mseries.c
|
||||
* Route information for NI_MSERIES boards.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
# vim: ts=2:sw=2:et:tw=80:nowrap
|
||||
|
||||
# This is simply to aide in creating the entries in the order of the value of
|
||||
# the device-global NI signal/terminal constants defined in comedi.h
|
||||
@ -123,7 +122,6 @@ class DeviceRoutes(CSVCollection):
|
||||
|
||||
output_file_top = """\
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/{filename}
|
||||
* List of valid routes for specific NI boards.
|
||||
@ -155,7 +153,6 @@ class DeviceRoutes(CSVCollection):
|
||||
|
||||
extern_header = """\
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/{filename}
|
||||
* List of valid routes for specific NI boards.
|
||||
@ -193,7 +190,6 @@ class DeviceRoutes(CSVCollection):
|
||||
|
||||
single_output_file_top = """\
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/{filename}
|
||||
* List of valid routes for specific NI boards.
|
||||
@ -299,7 +295,6 @@ class RouteValues(CSVCollection):
|
||||
|
||||
output_file_top = """\
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/{filename}
|
||||
* Route information for NI boards.
|
||||
@ -337,7 +332,6 @@ class RouteValues(CSVCollection):
|
||||
|
||||
extern_header = """\
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/{filename}
|
||||
* List of valid routes for specific NI boards.
|
||||
@ -375,7 +369,6 @@ class RouteValues(CSVCollection):
|
||||
|
||||
single_output_file_top = """\
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/ni_routing/{filename}
|
||||
* Route information for {sheet} boards.
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
# vim: ts=2:sw=2:et:tw=80:nowrap
|
||||
|
||||
from os import path
|
||||
import os, csv
|
||||
|
@ -1,5 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
# vim: ts=2:sw=2:et:tw=80:nowrap
|
||||
|
||||
import os, csv, glob
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
# vim: ts=2:sw=2:et:tw=80:nowrap
|
||||
|
||||
from os import path
|
||||
import os, csv
|
||||
|
@ -1,5 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
# vim: ts=2:sw=2:et:tw=80:nowrap
|
||||
"""
|
||||
This file helps to extract string names of NI signals as included in comedi.h
|
||||
between NI_NAMES_BASE and NI_NAMES_BASE+NI_NUM_NAMES.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/tests/comedi_example_test.c
|
||||
* Example set of unit tests.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/tests/ni_routes_test.c
|
||||
* Unit tests for NI routes (ni_routes.c module).
|
||||
|
@ -1,5 +1,4 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/* vim: set ts=8 sw=8 noet tw=80 nowrap: */
|
||||
/*
|
||||
* comedi/drivers/tests/unittest.h
|
||||
* Simple framework for unittests for comedi drivers.
|
||||
|
Loading…
Reference in New Issue
Block a user