i.MX: ocotp: Unify code paths for reading MAC address
There is no reason why code handling MAC-address properties of
"ocotp0" and code fetching this information to pass it along to
networking subsystem couldn't share majority of their code. Convert
the driver to do that.

Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 03f2a17 commit c06546a95fb15ebf2bb041bd279109682925ad20
@Andrey Smirnov Andrey Smirnov authored on 29 May 2018
Sascha Hauer committed on 31 May 2018
Showing 2 changed files
View
arch/arm/mach-imx/include/mach/ocotp.h
View
arch/arm/mach-imx/ocotp.c