common: add and use CONNECT_SIGNAL macro

This makes the code a bit more readable IMHO (and forces us to be
consistent with event handler function names).

Adjust scripts/checkpatch.pl to not complain.
This commit is contained in:
John Lindgren 2023-10-16 02:01:35 -04:00 committed by Johan Malm
parent a036d985d7
commit 5cb1d0e83f
6 changed files with 73 additions and 101 deletions

View file

@ -64,6 +64,7 @@ my @ignore = (
"PREFER_FALLTHROUGH",
"INITIALISED_STATIC",
"UNNECESSARY_ELSE",
"MACRO_ARG_PRECEDENCE",
);
my $help = 0;
my $configuration_file = ".checkpatch.conf";