Re: [PATCH 1/4] [media] dvb-frontends: use IS_ENABLED

2013-03-24 Thread Michael Krufky
...a long awaited cleanup ;-) Reviewed-by: Michael Krufky On Thu, Mar 21, 2013 at 3:39 PM, Mauro Carvalho Chehab wrote: > Instead of checking everywhere there for 3 symbols, use instead > IS_ENABLED macro. > > This replacement was done using this small perl script: > > my $data; > $data .= $_ w

[PATCH 1/4] [media] dvb-frontends: use IS_ENABLED

2013-03-21 Thread Mauro Carvalho Chehab
Instead of checking everywhere there for 3 symbols, use instead IS_ENABLED macro. This replacement was done using this small perl script: my $data; $data .= $_ while (<>); if ($data =~ m/CONFIG_([A-Z\_\d]*)_MODULE/) { $data =~ s,defined\(CONFIG_($f)\)[\s\|\&\\\(\)]+defined\(CONFIG_($f)_M