Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: greybus: remove license "boilerplate"

When the greybus drivers were converted to SPDX identifiers for the
license text, some license boilerplate was not removed. Clean this up
by removing this unneeded text now.

Cc: Johan Hovold <johan@kernel.org>
Cc: Vaibhav Agarwal <vaibhav.sr@gmail.com>
Cc: "Bryan O'Donoghue" <pure.logic@nexus-software.ie>
Cc: greybus-dev@lists.linaro.org
Cc: devel@driverdev.osuosl.org
Acked-by: Mark Greer <mgreer@animalcreekk.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alex Elder <elder@kernel.org>
Link: https://lore.kernel.org/r/20190825055429.18547-3-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

+1 -303
-46
drivers/staging/greybus/Documentation/firmware/authenticate.c
··· 2 2 /* 3 3 * Sample code to test CAP protocol 4 4 * 5 - * This file is provided under a dual BSD/GPLv2 license. When using or 6 - * redistributing this file, you may do so under either license. 7 - * 8 - * GPL LICENSE SUMMARY 9 - * 10 5 * Copyright(c) 2016 Google Inc. All rights reserved. 11 6 * Copyright(c) 2016 Linaro Ltd. All rights reserved. 12 - * 13 - * This program is free software; you can redistribute it and/or modify 14 - * it under the terms of version 2 of the GNU General Public License as 15 - * published by the Free Software Foundation. 16 - * 17 - * This program is distributed in the hope that it will be useful, but 18 - * WITHOUT ANY WARRANTY; without even the implied warranty of 19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 - * General Public License version 2 for more details. 21 - * 22 - * BSD LICENSE 23 - * 24 - * Copyright(c) 2016 Google Inc. All rights reserved. 25 - * Copyright(c) 2016 Linaro Ltd. All rights reserved. 26 - * 27 - * Redistribution and use in source and binary forms, with or without 28 - * modification, are permitted provided that the following conditions 29 - * are met: 30 - * 31 - * * Redistributions of source code must retain the above copyright 32 - * notice, this list of conditions and the following disclaimer. 33 - * * Redistributions in binary form must reproduce the above copyright 34 - * notice, this list of conditions and the following disclaimer in 35 - * the documentation and/or other materials provided with the 36 - * distribution. 37 - * * Neither the name of Google Inc. or Linaro Ltd. nor the names of 38 - * its contributors may be used to endorse or promote products 39 - * derived from this software without specific prior written 40 - * permission. 41 - * 42 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 43 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 44 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 45 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC. OR 46 - * LINARO LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 47 - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 48 - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 49 - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 50 - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53 7 */ 54 8 55 9 #include <stdio.h>
-46
drivers/staging/greybus/Documentation/firmware/firmware.c
··· 2 2 /* 3 3 * Sample code to test firmware-management protocol 4 4 * 5 - * This file is provided under a dual BSD/GPLv2 license. When using or 6 - * redistributing this file, you may do so under either license. 7 - * 8 - * GPL LICENSE SUMMARY 9 - * 10 5 * Copyright(c) 2016 Google Inc. All rights reserved. 11 6 * Copyright(c) 2016 Linaro Ltd. All rights reserved. 12 - * 13 - * This program is free software; you can redistribute it and/or modify 14 - * it under the terms of version 2 of the GNU General Public License as 15 - * published by the Free Software Foundation. 16 - * 17 - * This program is distributed in the hope that it will be useful, but 18 - * WITHOUT ANY WARRANTY; without even the implied warranty of 19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 - * General Public License version 2 for more details. 21 - * 22 - * BSD LICENSE 23 - * 24 - * Copyright(c) 2016 Google Inc. All rights reserved. 25 - * Copyright(c) 2016 Linaro Ltd. All rights reserved. 26 - * 27 - * Redistribution and use in source and binary forms, with or without 28 - * modification, are permitted provided that the following conditions 29 - * are met: 30 - * 31 - * * Redistributions of source code must retain the above copyright 32 - * notice, this list of conditions and the following disclaimer. 33 - * * Redistributions in binary form must reproduce the above copyright 34 - * notice, this list of conditions and the following disclaimer in 35 - * the documentation and/or other materials provided with the 36 - * distribution. 37 - * * Neither the name of Google Inc. or Linaro Ltd. nor the names of 38 - * its contributors may be used to endorse or promote products 39 - * derived from this software without specific prior written 40 - * permission. 41 - * 42 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 43 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 44 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 45 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC. OR 46 - * LINARO LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 47 - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 48 - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 49 - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 50 - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53 7 */ 54 8 55 9 #include <stdio.h>
-46
drivers/staging/greybus/arpc.h
··· 1 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 2 /* 3 - * This file is provided under a dual BSD/GPLv2 license. When using or 4 - * redistributing this file, you may do so under either license. 5 - * 6 - * GPL LICENSE SUMMARY 7 - * 8 3 * Copyright(c) 2016 Google Inc. All rights reserved. 9 4 * Copyright(c) 2016 Linaro Ltd. All rights reserved. 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of version 2 of the GNU General Public License as 13 - * published by the Free Software Foundation. 14 - * 15 - * This program is distributed in the hope that it will be useful, but 16 - * WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 - * General Public License version 2 for more details. 19 - * 20 - * BSD LICENSE 21 - * 22 - * Copyright(c) 2016 Google Inc. All rights reserved. 23 - * Copyright(c) 2016 Linaro Ltd. All rights reserved. 24 - * 25 - * Redistribution and use in source and binary forms, with or without 26 - * modification, are permitted provided that the following conditions 27 - * are met: 28 - * 29 - * * Redistributions of source code must retain the above copyright 30 - * notice, this list of conditions and the following disclaimer. 31 - * * Redistributions in binary form must reproduce the above copyright 32 - * notice, this list of conditions and the following disclaimer in 33 - * the documentation and/or other materials provided with the 34 - * distribution. 35 - * * Neither the name of Google Inc. or Linaro Ltd. nor the names of 36 - * its contributors may be used to endorse or promote products 37 - * derived from this software without specific prior written 38 - * permission. 39 - * 40 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 41 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 42 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 43 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC. OR 44 - * LINARO LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 45 - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 46 - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 47 - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 48 - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 49 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 50 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 5 */ 52 6 53 7 #ifndef __ARPC_H
+1 -25
drivers/staging/greybus/audio_apbridgea.h
··· 1 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 - /** 2 + /* 3 3 * Copyright (c) 2015-2016 Google Inc. 4 - * All rights reserved. 5 - * 6 - * Redistribution and use in source and binary forms, with or without 7 - * modification, are permitted provided that the following conditions are met: 8 - * 1. Redistributions of source code must retain the above copyright notice, 9 - * this list of conditions and the following disclaimer. 10 - * 2. Redistributions in binary form must reproduce the above copyright notice, 11 - * this list of conditions and the following disclaimer in the documentation 12 - * and/or other materials provided with the distribution. 13 - * 3. Neither the name of the copyright holder nor the names of its 14 - * contributors may be used to endorse or promote products derived from this 15 - * software without specific prior written permission. 16 - * 17 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 18 - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 19 - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 20 - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 21 - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 22 - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 23 - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 24 - * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 - * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 26 - * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 27 - * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 4 */ 29 5 /* 30 6 * This is a special protocol for configuring communication over the
-46
drivers/staging/greybus/greybus_authentication.h
··· 2 2 /* 3 3 * Greybus Component Authentication User Header 4 4 * 5 - * This file is provided under a dual BSD/GPLv2 license. When using or 6 - * redistributing this file, you may do so under either license. 7 - * 8 - * GPL LICENSE SUMMARY 9 - * 10 5 * Copyright(c) 2016 Google Inc. All rights reserved. 11 6 * Copyright(c) 2016 Linaro Ltd. All rights reserved. 12 - * 13 - * This program is free software; you can redistribute it and/or modify 14 - * it under the terms of version 2 of the GNU General Public License as 15 - * published by the Free Software Foundation. 16 - * 17 - * This program is distributed in the hope that it will be useful, but 18 - * WITHOUT ANY WARRANTY; without even the implied warranty of 19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 - * General Public License version 2 for more details. 21 - * 22 - * BSD LICENSE 23 - * 24 - * Copyright(c) 2016 Google Inc. All rights reserved. 25 - * Copyright(c) 2016 Linaro Ltd. All rights reserved. 26 - * 27 - * Redistribution and use in source and binary forms, with or without 28 - * modification, are permitted provided that the following conditions 29 - * are met: 30 - * 31 - * * Redistributions of source code must retain the above copyright 32 - * notice, this list of conditions and the following disclaimer. 33 - * * Redistributions in binary form must reproduce the above copyright 34 - * notice, this list of conditions and the following disclaimer in 35 - * the documentation and/or other materials provided with the 36 - * distribution. 37 - * * Neither the name of Google Inc. or Linaro Ltd. nor the names of 38 - * its contributors may be used to endorse or promote products 39 - * derived from this software without specific prior written 40 - * permission. 41 - * 42 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 43 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 44 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 45 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC. OR 46 - * LINARO LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 47 - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 48 - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 49 - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 50 - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53 7 */ 54 8 55 9 #ifndef __GREYBUS_AUTHENTICATION_USER_H
-46
drivers/staging/greybus/greybus_firmware.h
··· 2 2 /* 3 3 * Greybus Firmware Management User Header 4 4 * 5 - * This file is provided under a dual BSD/GPLv2 license. When using or 6 - * redistributing this file, you may do so under either license. 7 - * 8 - * GPL LICENSE SUMMARY 9 - * 10 5 * Copyright(c) 2016 Google Inc. All rights reserved. 11 6 * Copyright(c) 2016 Linaro Ltd. All rights reserved. 12 - * 13 - * This program is free software; you can redistribute it and/or modify 14 - * it under the terms of version 2 of the GNU General Public License as 15 - * published by the Free Software Foundation. 16 - * 17 - * This program is distributed in the hope that it will be useful, but 18 - * WITHOUT ANY WARRANTY; without even the implied warranty of 19 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 - * General Public License version 2 for more details. 21 - * 22 - * BSD LICENSE 23 - * 24 - * Copyright(c) 2016 Google Inc. All rights reserved. 25 - * Copyright(c) 2016 Linaro Ltd. All rights reserved. 26 - * 27 - * Redistribution and use in source and binary forms, with or without 28 - * modification, are permitted provided that the following conditions 29 - * are met: 30 - * 31 - * * Redistributions of source code must retain the above copyright 32 - * notice, this list of conditions and the following disclaimer. 33 - * * Redistributions in binary form must reproduce the above copyright 34 - * notice, this list of conditions and the following disclaimer in 35 - * the documentation and/or other materials provided with the 36 - * distribution. 37 - * * Neither the name of Google Inc. or Linaro Ltd. nor the names of 38 - * its contributors may be used to endorse or promote products 39 - * derived from this software without specific prior written 40 - * permission. 41 - * 42 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 43 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 44 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 45 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC. OR 46 - * LINARO LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 47 - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 48 - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 49 - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 50 - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 51 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 53 7 */ 54 8 55 9 #ifndef __GREYBUS_FIRMWARE_USER_H
-46
drivers/staging/greybus/greybus_protocols.h
··· 1 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 2 /* 3 - * This file is provided under a dual BSD/GPLv2 license. When using or 4 - * redistributing this file, you may do so under either license. 5 - * 6 - * GPL LICENSE SUMMARY 7 - * 8 3 * Copyright(c) 2014 - 2015 Google Inc. All rights reserved. 9 4 * Copyright(c) 2014 - 2015 Linaro Ltd. All rights reserved. 10 - * 11 - * This program is free software; you can redistribute it and/or modify 12 - * it under the terms of version 2 of the GNU General Public License as 13 - * published by the Free Software Foundation. 14 - * 15 - * This program is distributed in the hope that it will be useful, but 16 - * WITHOUT ANY WARRANTY; without even the implied warranty of 17 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 - * General Public License version 2 for more details. 19 - * 20 - * BSD LICENSE 21 - * 22 - * Copyright(c) 2014 - 2015 Google Inc. All rights reserved. 23 - * Copyright(c) 2014 - 2015 Linaro Ltd. All rights reserved. 24 - * 25 - * Redistribution and use in source and binary forms, with or without 26 - * modification, are permitted provided that the following conditions 27 - * are met: 28 - * 29 - * * Redistributions of source code must retain the above copyright 30 - * notice, this list of conditions and the following disclaimer. 31 - * * Redistributions in binary form must reproduce the above copyright 32 - * notice, this list of conditions and the following disclaimer in 33 - * the documentation and/or other materials provided with the 34 - * distribution. 35 - * * Neither the name of Google Inc. or Linaro Ltd. nor the names of 36 - * its contributors may be used to endorse or promote products 37 - * derived from this software without specific prior written 38 - * permission. 39 - * 40 - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 41 - * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 42 - * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 43 - * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC. OR 44 - * LINARO LTD. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 45 - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 46 - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 47 - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 48 - * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 49 - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 50 - * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 51 5 */ 52 6 53 7 #ifndef __GREYBUS_PROTOCOLS_H
-2
drivers/staging/greybus/tools/loopback_test.c
··· 4 4 * 5 5 * Copyright 2015 Google Inc. 6 6 * Copyright 2015 Linaro Ltd. 7 - * 8 - * Provided under the three clause BSD license found in the LICENSE file. 9 7 */ 10 8 #include <errno.h> 11 9 #include <fcntl.h>