diff options
author | Julia Lawall <julia.lawall@lip6.fr> | 2016-08-05 08:56:41 (GMT) |
---|---|---|
committer | Scott Wood <oss@buserror.net> | 2016-09-25 07:38:51 (GMT) |
commit | 74c269f69cdae83253be7f65840dd1ae589d5e99 (patch) | |
tree | 0ed7d6e89891c5871dec045dd1132c0c9cd62bb9 /arch/powerpc/sysdev/mpic.c | |
parent | 7120438e5d82f445acbfe131a1b58eab7e83fa33 (diff) | |
download | linux-74c269f69cdae83253be7f65840dd1ae589d5e99.tar.xz |
fsl/qe: 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 <Julia.Lawall@lip6.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/sysdev/mpic.c')
0 files changed, 0 insertions, 0 deletions