On Mon, Aug 10, 2015 at 07:56:46PM +0300, Andy Shevchenko wrote: > Potentially one of platform can support both ACPI and OF. In that case when we > call to_of_node() for non-OF fwnode types we will get non-NULL result, which > is > wrong. Check for the type and return a correspondent result. > > Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerb...@linux.intel.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/