diff options
| author | Julia Lawall <[email protected]> | 2016-08-05 08:56:51 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2016-08-08 10:55:05 +0000 |
| commit | 519302954b726612eea6362047660cd56aa15c2e (patch) | |
| tree | 656919932cd14057e3d2e04c0f1328d140ed9d13 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | Linux 4.8-rc1 (diff) | |
| download | kernel-519302954b726612eea6362047660cd56aa15c2e.tar.gz kernel-519302954b726612eea6362047660cd56aa15c2e.zip | |
ASoC: use of_property_read_bool
Use of_property_read_bool to check for the existence of a property.
The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)
// <smpl>
@@
expression e1,e2;
statement S2,S1;
@@
- if (of_get_property(e1,e2,NULL))
+ if (of_property_read_bool(e1,e2))
S1 else S2
// </smpl>
Signed-off-by: Julia Lawall <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
