commit | 74c269f69cdae83253be7f65840dd1ae589d5e99 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia.lawall@lip6.fr> | Fri Aug 05 10:56:41 2016 +0200 |
committer | Scott Wood <oss@buserror.net> | Sun Sep 25 02:38:51 2016 -0500 |
tree | 0ed7d6e89891c5871dec045dd1132c0c9cd62bb9 | |
parent | 7120438e5d82f445acbfe131a1b58eab7e83fa33 [diff] |
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>