of: Reduce indentation in of_graph_get_next_endpoint
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 26 Feb 2014 19:43:42 +0000 (20:43 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 6 Mar 2014 16:41:44 +0000 (17:41 +0100)
commit4329b93b283cce828967c01bc3827fdff51c8d7e
tree882e9ca70685c5fec906d148e03ccfe127ac5f67
parent6ff60d397b172bd89955433bd9e74be4627d7b9e
of: Reduce indentation in of_graph_get_next_endpoint

A 'return endpoint;' at the end of the (!prev) case allows to
reduce the indentation level of the (prev) case.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Acked-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/of/base.c