This is an automated email from the ASF dual-hosted git repository. xiaoxiang781216 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit c110f247a7a95d508eb74bfd39360da682df2d6c Author: Alin Jerpelea <[email protected]> AuthorDate: Fri Nov 27 16:32:01 2026 +0100 drivers: fix license header fix warnings from ATR Signed-off-by: Alin Jerpelea <[email protected]> --- drivers/audio/audio_fake.c | 2 ++ drivers/devfreq/devfreq.c | 2 ++ drivers/devfreq/devfreq_ondemand.c | 2 ++ drivers/devfreq/devfreq_performance.c | 2 ++ drivers/devfreq/devfreq_powersave.c | 2 ++ drivers/devfreq/devfreq_procfs.c | 2 ++ drivers/devfreq/devfreq_qos.c | 2 ++ drivers/devicetree/fdt_cfi.c | 2 ++ drivers/devicetree/fdt_ctucanfd.c | 2 ++ drivers/i2c/i2c_bitbang_ioexpander.c | 2 ++ drivers/ioexpander/aw9523b.c | 2 ++ drivers/ioexpander/aw9523b.h | 2 ++ drivers/misc/qemu_fwcfg.c | 2 ++ drivers/misc/qemu_fwcfg.h | 2 ++ drivers/mtd/cfi.c | 2 ++ drivers/mtd/cfi.h | 2 ++ drivers/mtd/gd55.c | 2 ++ drivers/mtd/mtd_cfi.c | 2 ++ drivers/mtd/w25n.c | 31 +++++++++++----------- drivers/net/mdio.c | 2 ++ drivers/power/battery/battery_fakegauge.c | 2 ++ drivers/power/battery/ltc4013.c | 1 + drivers/rpmsg/rpmsg.h | 2 ++ drivers/rpmsg/rpmsg_test.c | 2 ++ drivers/rpmsg/rpmsg_test.h | 2 ++ drivers/rpmsg/rpmsg_virtio.c | 2 ++ drivers/rpmsg/rpmsg_wakelock.c | 2 ++ drivers/rpmsg/rpmsg_wakelock.h | 2 ++ drivers/sensors/bh1745nuc_uorb.c | 2 ++ drivers/sensors/ccs811_uorb.c | 2 ++ drivers/sensors/hts221_uorb.c | 2 ++ drivers/sensors/l86xxx_uorb.c | 6 +---- drivers/sensors/lis2mdl_uorb.c | 2 +- drivers/sensors/lps22hb_uorb.c | 2 ++ drivers/sensors/lsm6ds3trc_uorb.c | 2 ++ drivers/sensors/lsm6dso32_uorb.c | 4 +-- drivers/sensors/mcp9600_uorb.c | 2 -- drivers/sensors/nau7802.c | 2 +- drivers/sensors/sensor_monitor.c | 2 ++ drivers/sensors/sht4x_uorb.c | 2 +- drivers/timers/fake_capture.c | 2 ++ drivers/timers/ptp_clock.c | 2 ++ drivers/timers/ptp_clock_dummy.c | 2 ++ drivers/timers/timer_wdog.c | 2 ++ drivers/usbhost/usbhost_drivers.c | 2 ++ drivers/usbhost/usbhost_waiter.c | 2 ++ drivers/usbhost/usbhost_xhci.c | 2 ++ drivers/usbhost/usbhost_xhci.h | 2 ++ drivers/usbhost/usbhost_xhci_trace.c | 2 ++ drivers/usbhost/usbhost_xhci_trace.h | 2 ++ drivers/usbmisc/stusb4500.c | 2 ++ drivers/vhost/vhost-blk.c | 2 ++ drivers/vhost/vhost-blk.h | 2 ++ drivers/vhost/vhost-rpmb.c | 8 +++--- drivers/vhost/vhost-rpmb.h | 8 +++--- drivers/vhost/vhost-rpmsg.c | 2 ++ drivers/vhost/vhost-rpmsg.h | 2 ++ drivers/virtio/virtio-rpmsg.c | 2 ++ drivers/virtio/virtio-rpmsg.h | 2 ++ drivers/wireless/lpwan/rn2xx3/rn2xx3.c | 2 -- .../wireless/spirit/include/spirit_management.h | 4 +-- drivers/wireless/spirit/lib/spirit_qi.c | 4 +-- 62 files changed, 133 insertions(+), 41 deletions(-) diff --git a/drivers/audio/audio_fake.c b/drivers/audio/audio_fake.c index 080d49bf827..ff0f83f50a2 100644 --- a/drivers/audio/audio_fake.c +++ b/drivers/audio/audio_fake.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/audio/audio_fake.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/devfreq/devfreq.c b/drivers/devfreq/devfreq.c index 5b0a17c0465..fe43744bc81 100644 --- a/drivers/devfreq/devfreq.c +++ b/drivers/devfreq/devfreq.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/devfreq/devfreq.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/devfreq/devfreq_ondemand.c b/drivers/devfreq/devfreq_ondemand.c index b6557ee38d2..c26e756a506 100644 --- a/drivers/devfreq/devfreq_ondemand.c +++ b/drivers/devfreq/devfreq_ondemand.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/devfreq/devfreq_ondemand.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/devfreq/devfreq_performance.c b/drivers/devfreq/devfreq_performance.c index 1b39ce3341c..c1ae2d85d83 100644 --- a/drivers/devfreq/devfreq_performance.c +++ b/drivers/devfreq/devfreq_performance.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/devfreq/devfreq_performance.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/devfreq/devfreq_powersave.c b/drivers/devfreq/devfreq_powersave.c index 6d272c1753a..3c161727cef 100644 --- a/drivers/devfreq/devfreq_powersave.c +++ b/drivers/devfreq/devfreq_powersave.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/devfreq/devfreq_powersave.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/devfreq/devfreq_procfs.c b/drivers/devfreq/devfreq_procfs.c index effc0b41944..92bb4447a35 100644 --- a/drivers/devfreq/devfreq_procfs.c +++ b/drivers/devfreq/devfreq_procfs.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/devfreq/devfreq_procfs.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/devfreq/devfreq_qos.c b/drivers/devfreq/devfreq_qos.c index 9c0a34f453a..e4951b49b5e 100644 --- a/drivers/devfreq/devfreq_qos.c +++ b/drivers/devfreq/devfreq_qos.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/devfreq/devfreq_qos.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/devicetree/fdt_cfi.c b/drivers/devicetree/fdt_cfi.c index fbbd1260b65..809cdeaaf6a 100644 --- a/drivers/devicetree/fdt_cfi.c +++ b/drivers/devicetree/fdt_cfi.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/devicetree/fdt_cfi.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/devicetree/fdt_ctucanfd.c b/drivers/devicetree/fdt_ctucanfd.c index a010dd84325..b65d1797b3c 100644 --- a/drivers/devicetree/fdt_ctucanfd.c +++ b/drivers/devicetree/fdt_ctucanfd.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/devicetree/fdt_ctucanfd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/i2c/i2c_bitbang_ioexpander.c b/drivers/i2c/i2c_bitbang_ioexpander.c index 6c161f7db6d..afa1323ab3d 100644 --- a/drivers/i2c/i2c_bitbang_ioexpander.c +++ b/drivers/i2c/i2c_bitbang_ioexpander.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/i2c/i2c_bitbang_ioexpander.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/ioexpander/aw9523b.c b/drivers/ioexpander/aw9523b.c index a1ef1a7e38b..83936aaa5ba 100644 --- a/drivers/ioexpander/aw9523b.c +++ b/drivers/ioexpander/aw9523b.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/ioexpander/aw9523b.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/ioexpander/aw9523b.h b/drivers/ioexpander/aw9523b.h index b614e882887..483d1c436fe 100644 --- a/drivers/ioexpander/aw9523b.h +++ b/drivers/ioexpander/aw9523b.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/ioexpander/aw9523b.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/misc/qemu_fwcfg.c b/drivers/misc/qemu_fwcfg.c index b2a75602513..2d0d610f993 100644 --- a/drivers/misc/qemu_fwcfg.c +++ b/drivers/misc/qemu_fwcfg.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/misc/qemu_fwcfg.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/misc/qemu_fwcfg.h b/drivers/misc/qemu_fwcfg.h index dedd34fe31d..fa673ab6e3c 100644 --- a/drivers/misc/qemu_fwcfg.h +++ b/drivers/misc/qemu_fwcfg.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/misc/qemu_fwcfg.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/mtd/cfi.c b/drivers/mtd/cfi.c index ea6afed8b0e..af9401f0848 100644 --- a/drivers/mtd/cfi.c +++ b/drivers/mtd/cfi.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/mtd/cfi.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/mtd/cfi.h b/drivers/mtd/cfi.h index 3abfdf70ab7..ae805460e9b 100644 --- a/drivers/mtd/cfi.h +++ b/drivers/mtd/cfi.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/mtd/cfi.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/mtd/gd55.c b/drivers/mtd/gd55.c index c8160731bf8..af690eb2d92 100644 --- a/drivers/mtd/gd55.c +++ b/drivers/mtd/gd55.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/mtd/gd55.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/mtd/mtd_cfi.c b/drivers/mtd/mtd_cfi.c index 3ce59b0e890..2f95976257f 100644 --- a/drivers/mtd/mtd_cfi.c +++ b/drivers/mtd/mtd_cfi.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/mtd/mtd_cfi.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/mtd/w25n.c b/drivers/mtd/w25n.c index 4ed0241ea53..42f01cb0f14 100644 --- a/drivers/mtd/w25n.c +++ b/drivers/mtd/w25n.c @@ -1,21 +1,6 @@ /**************************************************************************** * drivers/mtd/w25n.c * - * Driver for Winbond W25N SPI NAND flash. - * Currently only W25N01GV (1Gbit/128MB) is supported and tested. - * - * Bad block management uses the chip's built-in 20-entry hardware Bad - * Block Management Look-Up Table (datasheet section 8.2.7). Factory bad - * blocks are scanned at init by reading the OOB marker (byte 0 of the - * spare area of page 0) and remapped to spares from a reserved pool at - * the top of the array. Runtime erase/program failures (E-FAIL/P-FAIL) - * trigger the same remap path and retry the operation once. The chip - * routes accesses to remapped LBAs to the spare PBA transparently. - * - * Limitations: - * - No Quad SPI support (standard SPI only). - * - No access to OTP region. - * * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more @@ -35,6 +20,22 @@ * ****************************************************************************/ +/* Driver for Winbond W25N SPI NAND flash. + * Currently only W25N01GV (1Gbit/128MB) is supported and tested. + * + * Bad block management uses the chip's built-in 20-entry hardware Bad + * Block Management Look-Up Table (datasheet section 8.2.7). Factory bad + * blocks are scanned at init by reading the OOB marker (byte 0 of the + * spare area of page 0) and remapped to spares from a reserved pool at + * the top of the array. Runtime erase/program failures (E-FAIL/P-FAIL) + * trigger the same remap path and retry the operation once. The chip + * routes accesses to remapped LBAs to the spare PBA transparently. + * + * Limitations: + * - No Quad SPI support (standard SPI only). + * - No access to OTP region. + */ + /**************************************************************************** * Included Files ****************************************************************************/ diff --git a/drivers/net/mdio.c b/drivers/net/mdio.c index 8af09249f87..84ec0e55c11 100644 --- a/drivers/net/mdio.c +++ b/drivers/net/mdio.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/net/mdio.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/power/battery/battery_fakegauge.c b/drivers/power/battery/battery_fakegauge.c index a6517431b0e..9597466587b 100644 --- a/drivers/power/battery/battery_fakegauge.c +++ b/drivers/power/battery/battery_fakegauge.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/power/battery/battery_fakegauge.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/power/battery/ltc4013.c b/drivers/power/battery/ltc4013.c index e32d135b72c..48e9aa31833 100644 --- a/drivers/power/battery/ltc4013.c +++ b/drivers/power/battery/ltc4013.c @@ -1,5 +1,6 @@ /**************************************************************************** * drivers/power/battery/ltc4013.c + * * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/drivers/rpmsg/rpmsg.h b/drivers/rpmsg/rpmsg.h index 9d15db752da..47a0b255b36 100644 --- a/drivers/rpmsg/rpmsg.h +++ b/drivers/rpmsg/rpmsg.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/rpmsg/rpmsg.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/rpmsg/rpmsg_test.c b/drivers/rpmsg/rpmsg_test.c index 083e8014a22..94eea6e9581 100644 --- a/drivers/rpmsg/rpmsg_test.c +++ b/drivers/rpmsg/rpmsg_test.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/rpmsg/rpmsg_test.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/rpmsg/rpmsg_test.h b/drivers/rpmsg/rpmsg_test.h index fecfbd31d3f..8487534ead5 100644 --- a/drivers/rpmsg/rpmsg_test.h +++ b/drivers/rpmsg/rpmsg_test.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/rpmsg/rpmsg_test.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/rpmsg/rpmsg_virtio.c b/drivers/rpmsg/rpmsg_virtio.c index dc8fcd6a4b8..05b3a472da0 100644 --- a/drivers/rpmsg/rpmsg_virtio.c +++ b/drivers/rpmsg/rpmsg_virtio.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/rpmsg/rpmsg_virtio.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/rpmsg/rpmsg_wakelock.c b/drivers/rpmsg/rpmsg_wakelock.c index 61c1db8c415..1f0337a9606 100644 --- a/drivers/rpmsg/rpmsg_wakelock.c +++ b/drivers/rpmsg/rpmsg_wakelock.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/rpmsg/rpmsg_wakelock.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/rpmsg/rpmsg_wakelock.h b/drivers/rpmsg/rpmsg_wakelock.h index d1b313c9ab9..3d1d6872054 100644 --- a/drivers/rpmsg/rpmsg_wakelock.h +++ b/drivers/rpmsg/rpmsg_wakelock.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/rpmsg/rpmsg_wakelock.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/sensors/bh1745nuc_uorb.c b/drivers/sensors/bh1745nuc_uorb.c index 4f8540184a4..51a19916068 100644 --- a/drivers/sensors/bh1745nuc_uorb.c +++ b/drivers/sensors/bh1745nuc_uorb.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/sensors/bh1745nuc_uorb.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/sensors/ccs811_uorb.c b/drivers/sensors/ccs811_uorb.c index 0b3bff12042..3d2d3ce9405 100644 --- a/drivers/sensors/ccs811_uorb.c +++ b/drivers/sensors/ccs811_uorb.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/sensors/ccs811_uorb.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/sensors/hts221_uorb.c b/drivers/sensors/hts221_uorb.c index 8ea5dfd7adf..086b3dadbb9 100644 --- a/drivers/sensors/hts221_uorb.c +++ b/drivers/sensors/hts221_uorb.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/sensors/hts221_uorb.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/sensors/l86xxx_uorb.c b/drivers/sensors/l86xxx_uorb.c index d7de70e7bc7..f10e2aa3cdf 100644 --- a/drivers/sensors/l86xxx_uorb.c +++ b/drivers/sensors/l86xxx_uorb.c @@ -1,14 +1,10 @@ /**************************************************************************** * drivers/sensors/l86xxx_uorb.c * - * NOTE: EXPERIMENTAL DRIVER - * - * Contributed by Carleton University InSpace - * * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with + * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The * ASF licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the diff --git a/drivers/sensors/lis2mdl_uorb.c b/drivers/sensors/lis2mdl_uorb.c index 93b7f8315b8..b860774f3b5 100644 --- a/drivers/sensors/lis2mdl_uorb.c +++ b/drivers/sensors/lis2mdl_uorb.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with + * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The * ASF licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the diff --git a/drivers/sensors/lps22hb_uorb.c b/drivers/sensors/lps22hb_uorb.c index e0b0819e78a..0149d10ffc3 100644 --- a/drivers/sensors/lps22hb_uorb.c +++ b/drivers/sensors/lps22hb_uorb.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/sensors/lps22hb_uorb.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/sensors/lsm6ds3trc_uorb.c b/drivers/sensors/lsm6ds3trc_uorb.c index 76a123d3672..bc87a9cabc4 100644 --- a/drivers/sensors/lsm6ds3trc_uorb.c +++ b/drivers/sensors/lsm6ds3trc_uorb.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/sensors/lsm6ds3trc_uorb.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/sensors/lsm6dso32_uorb.c b/drivers/sensors/lsm6dso32_uorb.c index 5ba350a9d0e..e7cbca36b7a 100644 --- a/drivers/sensors/lsm6dso32_uorb.c +++ b/drivers/sensors/lsm6dso32_uorb.c @@ -1,10 +1,10 @@ /**************************************************************************** * drivers/sensors/lsm6dso32_uorb.c * - * Contributed by Carleton University InSpace + * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with + * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The * ASF licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the diff --git a/drivers/sensors/mcp9600_uorb.c b/drivers/sensors/mcp9600_uorb.c index 1903ae27e3b..f372cc884e0 100644 --- a/drivers/sensors/mcp9600_uorb.c +++ b/drivers/sensors/mcp9600_uorb.c @@ -1,8 +1,6 @@ /**************************************************************************** * drivers/sensors/mcp9600_uorb.c * - * Contributed by Matteo Golin - * * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/drivers/sensors/nau7802.c b/drivers/sensors/nau7802.c index 6533f5a6fd7..b8aaa08ca9e 100644 --- a/drivers/sensors/nau7802.c +++ b/drivers/sensors/nau7802.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with + * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The * ASF licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the diff --git a/drivers/sensors/sensor_monitor.c b/drivers/sensors/sensor_monitor.c index 3bd3db3ffa6..80d93aa8309 100644 --- a/drivers/sensors/sensor_monitor.c +++ b/drivers/sensors/sensor_monitor.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/sensors/sensor_monitor.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/sensors/sht4x_uorb.c b/drivers/sensors/sht4x_uorb.c index 75e6429b92c..e8b73527ffb 100644 --- a/drivers/sensors/sht4x_uorb.c +++ b/drivers/sensors/sht4x_uorb.c @@ -4,7 +4,7 @@ * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with + * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The * ASF licenses this file to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance with the diff --git a/drivers/timers/fake_capture.c b/drivers/timers/fake_capture.c index f2eaaa89401..43b26ee834c 100644 --- a/drivers/timers/fake_capture.c +++ b/drivers/timers/fake_capture.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/timers/fake_capture.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/timers/ptp_clock.c b/drivers/timers/ptp_clock.c index 9e5ea28f0fa..29071cebe7d 100644 --- a/drivers/timers/ptp_clock.c +++ b/drivers/timers/ptp_clock.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/timers/ptp_clock.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/timers/ptp_clock_dummy.c b/drivers/timers/ptp_clock_dummy.c index 9ffa9b3fb37..847331d9691 100644 --- a/drivers/timers/ptp_clock_dummy.c +++ b/drivers/timers/ptp_clock_dummy.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/timers/ptp_clock_dummy.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/timers/timer_wdog.c b/drivers/timers/timer_wdog.c index 1edb91db6ee..92e4b8446f8 100644 --- a/drivers/timers/timer_wdog.c +++ b/drivers/timers/timer_wdog.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/timers/timer_wdog.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/usbhost/usbhost_drivers.c b/drivers/usbhost/usbhost_drivers.c index 562ff379f13..9bad66c22b1 100644 --- a/drivers/usbhost/usbhost_drivers.c +++ b/drivers/usbhost/usbhost_drivers.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/usbhost/usbhost_drivers.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/usbhost/usbhost_waiter.c b/drivers/usbhost/usbhost_waiter.c index 2727727af12..079db160404 100644 --- a/drivers/usbhost/usbhost_waiter.c +++ b/drivers/usbhost/usbhost_waiter.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/usbhost/usbhost_waiter.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/usbhost/usbhost_xhci.c b/drivers/usbhost/usbhost_xhci.c index b7cafae4051..cea9f9c5c6a 100644 --- a/drivers/usbhost/usbhost_xhci.c +++ b/drivers/usbhost/usbhost_xhci.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/usbhost/usbhost_xhci.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/usbhost/usbhost_xhci.h b/drivers/usbhost/usbhost_xhci.h index 157e07a9db4..e4bd2813f2a 100644 --- a/drivers/usbhost/usbhost_xhci.h +++ b/drivers/usbhost/usbhost_xhci.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/usbhost/usbhost_xhci.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/usbhost/usbhost_xhci_trace.c b/drivers/usbhost/usbhost_xhci_trace.c index e7233c09bb2..8955dcbc746 100644 --- a/drivers/usbhost/usbhost_xhci_trace.c +++ b/drivers/usbhost/usbhost_xhci_trace.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/usbhost/usbhost_xhci_trace.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/usbhost/usbhost_xhci_trace.h b/drivers/usbhost/usbhost_xhci_trace.h index cf020958231..354160e4b67 100644 --- a/drivers/usbhost/usbhost_xhci_trace.h +++ b/drivers/usbhost/usbhost_xhci_trace.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/usbhost/usbhost_xhci_trace.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/usbmisc/stusb4500.c b/drivers/usbmisc/stusb4500.c index 0e64555381c..29f949bb5e2 100644 --- a/drivers/usbmisc/stusb4500.c +++ b/drivers/usbmisc/stusb4500.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/usbmisc/stusb4500.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/vhost/vhost-blk.c b/drivers/vhost/vhost-blk.c index a55eff8c4b7..d63bdeeed7d 100644 --- a/drivers/vhost/vhost-blk.c +++ b/drivers/vhost/vhost-blk.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/vhost/vhost-blk.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/vhost/vhost-blk.h b/drivers/vhost/vhost-blk.h index 7e3aeaab5f2..2eb8b4647a5 100644 --- a/drivers/vhost/vhost-blk.h +++ b/drivers/vhost/vhost-blk.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/vhost/vhost-blk.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/vhost/vhost-rpmb.c b/drivers/vhost/vhost-rpmb.c index 8b7a5dc9886..eef6988b9b4 100644 --- a/drivers/vhost/vhost-rpmb.c +++ b/drivers/vhost/vhost-rpmb.c @@ -13,10 +13,10 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * ****************************************************************************/ diff --git a/drivers/vhost/vhost-rpmb.h b/drivers/vhost/vhost-rpmb.h index 8f7b73041ac..418c4339b94 100644 --- a/drivers/vhost/vhost-rpmb.h +++ b/drivers/vhost/vhost-rpmb.h @@ -13,10 +13,10 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * ****************************************************************************/ diff --git a/drivers/vhost/vhost-rpmsg.c b/drivers/vhost/vhost-rpmsg.c index 6c3840e9414..156709487f0 100644 --- a/drivers/vhost/vhost-rpmsg.c +++ b/drivers/vhost/vhost-rpmsg.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/vhost/vhost-rpmsg.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/vhost/vhost-rpmsg.h b/drivers/vhost/vhost-rpmsg.h index 1ef34836c53..e0e29803e76 100644 --- a/drivers/vhost/vhost-rpmsg.h +++ b/drivers/vhost/vhost-rpmsg.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/vhost/vhost-rpmsg.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/virtio/virtio-rpmsg.c b/drivers/virtio/virtio-rpmsg.c index 50432b6b32a..45f645135ae 100644 --- a/drivers/virtio/virtio-rpmsg.c +++ b/drivers/virtio/virtio-rpmsg.c @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/virtio/virtio-rpmsg.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/virtio/virtio-rpmsg.h b/drivers/virtio/virtio-rpmsg.h index 3fc7c62d1f9..68cab9b8047 100644 --- a/drivers/virtio/virtio-rpmsg.h +++ b/drivers/virtio/virtio-rpmsg.h @@ -1,6 +1,8 @@ /**************************************************************************** * drivers/virtio/virtio-rpmsg.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/drivers/wireless/lpwan/rn2xx3/rn2xx3.c b/drivers/wireless/lpwan/rn2xx3/rn2xx3.c index 5132c371729..60f8ad3ff41 100644 --- a/drivers/wireless/lpwan/rn2xx3/rn2xx3.c +++ b/drivers/wireless/lpwan/rn2xx3/rn2xx3.c @@ -1,8 +1,6 @@ /**************************************************************************** * drivers/wireless/lpwan/rn2xx3/rn2xx3.c * - * NOTE: EXPERIMENTAL DRIVER - * * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more diff --git a/drivers/wireless/spirit/include/spirit_management.h b/drivers/wireless/spirit/include/spirit_management.h index d12dafb3b93..10499d4bae9 100644 --- a/drivers/wireless/spirit/include/spirit_management.h +++ b/drivers/wireless/spirit/include/spirit_management.h @@ -16,8 +16,8 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of STMicroelectronics nor the names of its - * contributors may be used to endorse or promote products derived - * from this software without specific prior written permission. + * contributors may be used to endorse or promote products derived from + * this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED diff --git a/drivers/wireless/spirit/lib/spirit_qi.c b/drivers/wireless/spirit/lib/spirit_qi.c index e5f04c778dc..08455462e4a 100644 --- a/drivers/wireless/spirit/lib/spirit_qi.c +++ b/drivers/wireless/spirit/lib/spirit_qi.c @@ -7,8 +7,8 @@ * Version 3.2.2 08-July-2015 * * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * + * modification, are permitted provided that the following conditions are + * met: * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright
