Changes made with regex plus some manual tweaks. Find: /(?:(?<!#!\/bin\/sh\n)(?:^#\n))*^#.*?[Cc]opyright.*?(\d{4}) *([0-9A-z,_\- ]+).*?\n(?:^#\n)*^#.*?SPDX-License-Identifier:? *(.+) *?\n(?:^#\n)*/gm Replace: # Copyright (c) $1 $2 # SPDX-License-Identifier: $3 PR: #564
18 lines
376 B
YAML
18 lines
376 B
YAML
# Copyright (c) 2020 The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: |
|
|
Generic driver for controlling the external power output
|
|
by toggling the control-gpio pin status
|
|
(Only in supported hardware)
|
|
|
|
compatible: "zmk,ext-power-generic"
|
|
|
|
properties:
|
|
control-gpios:
|
|
type: phandle-array
|
|
required: true
|
|
label:
|
|
type: string
|
|
required: true
|