From 881509874737cabc0097d51566fc72a6ea1d521c Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 13 Dec 2017 12:40:55 -0800 Subject: mpm: Harmonize all license header Now uses SPDX headers everywhere. --- mpm/python/usrp_mpm/sys_utils/dtoverlay.py | 15 ++------------- mpm/python/usrp_mpm/sys_utils/net.py | 15 ++------------- mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py | 15 ++------------- mpm/python/usrp_mpm/sys_utils/udev.py | 18 +++++------------- mpm/python/usrp_mpm/sys_utils/uio.py | 15 ++------------- 5 files changed, 13 insertions(+), 65 deletions(-) (limited to 'mpm/python/usrp_mpm/sys_utils') diff --git a/mpm/python/usrp_mpm/sys_utils/dtoverlay.py b/mpm/python/usrp_mpm/sys_utils/dtoverlay.py index 577bafed9..4dcd43bb9 100644 --- a/mpm/python/usrp_mpm/sys_utils/dtoverlay.py +++ b/mpm/python/usrp_mpm/sys_utils/dtoverlay.py @@ -1,18 +1,7 @@ # -# Copyright 2017 Ettus Research (National Instruments) +# Copyright 2017 Ettus Research, National Instruments Company # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# SPDX-License-Identifier: GPL-3.0 # """ Manipulation of device tree overlays (Linux kernel) diff --git a/mpm/python/usrp_mpm/sys_utils/net.py b/mpm/python/usrp_mpm/sys_utils/net.py index e3deea3e7..2cf4071ab 100644 --- a/mpm/python/usrp_mpm/sys_utils/net.py +++ b/mpm/python/usrp_mpm/sys_utils/net.py @@ -1,18 +1,7 @@ - -# Copyright 2017 Ettus Research (National Instruments) -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. # -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# Copyright 2017 Ettus Research, National Instruments Company # -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# SPDX-License-Identifier: GPL-3.0 # """ N310 implementation module diff --git a/mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py b/mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py index f8384a3b8..29056a51f 100644 --- a/mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py +++ b/mpm/python/usrp_mpm/sys_utils/sysfs_gpio.py @@ -1,18 +1,7 @@ # -# Copyright 2017 Ettus Research (National Instruments) +# Copyright 2017 Ettus Research, National Instruments Company # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# SPDX-License-Identifier: GPL-3.0 # """ Access to GPIOs mapped into the PS via sysfs diff --git a/mpm/python/usrp_mpm/sys_utils/udev.py b/mpm/python/usrp_mpm/sys_utils/udev.py index 87d264d2d..efd36c245 100644 --- a/mpm/python/usrp_mpm/sys_utils/udev.py +++ b/mpm/python/usrp_mpm/sys_utils/udev.py @@ -1,19 +1,11 @@ # -# Copyright 2017 Ettus Research (National Instruments) +# Copyright 2017 Ettus Research, National Instruments Company # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# SPDX-License-Identifier: GPL-3.0 # +""" +Utilities for udev lookups +""" import os import pyudev diff --git a/mpm/python/usrp_mpm/sys_utils/uio.py b/mpm/python/usrp_mpm/sys_utils/uio.py index acbe2cc4f..6e3a8c182 100644 --- a/mpm/python/usrp_mpm/sys_utils/uio.py +++ b/mpm/python/usrp_mpm/sys_utils/uio.py @@ -1,18 +1,7 @@ # -# Copyright 2017 Ettus Research (National Instruments) +# Copyright 2017 Ettus Research, National Instruments Company # -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program. If not, see . +# SPDX-License-Identifier: GPL-3.0 # """ Access to UIO mapped memory. -- cgit v1.2.3