commit | 1fadfe9e19c9d3c26b3e7e9baee5e6846175ad51 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia.lawall@lip6.fr> | Fri Aug 05 10:56:49 2016 +0200 |
committer | Scott Wood <oss@buserror.net> | Sun Sep 25 02:38:51 2016 -0500 |
tree | ca16b74e7a671407a9494ade0834b69257f99381 | |
parent | 74c269f69cdae83253be7f65840dd1ae589d5e99 [diff] |
powerpc/mpic: 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> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Scott Wood <oss@buserror.net>