/linux/drivers/media/test-drivers/vidtv/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/test-drivers/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/mmc/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/usb/gspca/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/usb/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/pci/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/common/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/usb/dvb-usb/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/tuners/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/dvb-frontends/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/radio/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
/linux/drivers/media/i2c/ |
H A D | Kconfig | diff 6cdc31b2d7095af3d39f001b0d4e367a6f32664e Mon Mar 14 11:01:05 CET 2022 Mauro Carvalho Chehab <mchehab@kernel.org> media: media/*/Kconfig: sort entries
Currently, the idems inside media Kconfig are out of order. Sort them using the script below:
<script> use strict; use warnings;
my %config; my @source; my $out;
sub flush_config() { if (scalar %config) { for my $c (sort keys %config) { $out .= $config{$c} . "\n"; } %config = (); }
return if (!scalar @source);
$out .= "\n"; for my $s (sort @source) { $out .= $s; } $out .= "\n";
@source = (); }
sub sort_kconfig($) { my $fname = shift; my $cur_config = "";
@source = (); $out = ""; %config = ();
open IN, $fname or die; while (<IN>) { if (m/^config\s+(.*)/) { $cur_config = $1; $config{$cur_config} .= $_; } elsif (m/^source\s+(.*)/) { push @source, $_; } elsif (m/^\s+/) { if ($cur_config eq "") { $out .= $_; } else { $config{$cur_config} .= $_; } } else { flush_config(); $cur_config = ""; $out .= $_; } } close IN or die;
flush_config();
$out =~ s/\n\n+/\n\n/g; $out =~ s/\n+$/\n/;
open OUT, ">$fname"; print OUT $out; close OUT; }
for my $fname(@ARGV) { sort_kconfig $fname } </script>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|