of: of_net: use a loop
iterate over the different property names rather than having
the same code three times.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent f2cca54 commit bd3b279d0d5bc3aa8593066d302ca025aed81de0
@Sascha Hauer Sascha Hauer authored on 12 Apr 2017
Showing 1 changed file
View
drivers/of/of_net.c