commit | 248122212f68dcf13433ec56bb03ddc799259026 | [log] [tgz] |
---|---|---|
author | Marcin Wojtas <mw@semihalf.com> | Thu Jan 18 13:31:43 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 22 10:57:04 2018 -0500 |
tree | 51ade5517a4830a8a86ec330b3e8eb7b8f9a20f5 | |
parent | bf147153d7f4b0d7337b28040837d9272c1a99fe [diff] |
net: mvpp2: use device_*/fwnode_* APIs instead of of_* OF functions can be used only for the driver using DT. As a preparation for introducing ACPI support in mvpp2 driver, use struct fwnode_handle in order to obtain properties from the hardware description. This patch replaces of_* function with device_*/fwnode_* where possible in the mvpp2. Signed-off-by: Marcin Wojtas <mw@semihalf.com> Signed-off-by: David S. Miller <davem@davemloft.net>