2015-05-27 17:43 GMT+08:00 Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx>: > Since mt6397 is no need to support interrupt controller, > I judged "interrupt-controller" property to skip it last patch. > But the if judgement should on the contrary, this is a bug. > > And find of_property_read_bool is better for this case. > So using of_property_read_bool instead of of_find_property. > > Also fix bug of misuse pointer. > > Signed-off-by: Hongzhou Yang <hongzhou.yang@xxxxxxxxxxxx> Reviewed-by: Axel Lin <axel.lin@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html