staging: vt6655: Use loop in vt6655_mac_read_ether_addr
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Wed, 6 Jul 2022 19:19:06 +0000 (21:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Jul 2022 12:29:22 +0000 (14:29 +0200)
commit2a1f94e45569b1cd9f002e65006f613c2a8360f2
treee7cbdd90f8bb88ff14f6df45bd20982b1864ed02
parent385b35ab80b00444e94f30891a2468a7f284e4c7
staging: vt6655: Use loop in vt6655_mac_read_ether_addr

Use loop in vt6655_mac_read_ether_addr to avoid multiple
similar statements.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/f233c8a007d75a8adcc99a07c582b75bdc1985db.1657134099.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c