commit | 8699b2e8645ac01da51a8f159ad9478c2a2452e1 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sun Mar 14 20:14:59 2021 +0800 |
committer | Priyanka Jain <priyanka.jain@nxp.com> | Thu Apr 15 14:22:17 2021 +0530 |
tree | f017b1be784ec8f5f8295bb9e18584dc10223a4a | |
parent | 381ed9765358b8bf27eae27e8bde00d39cef4d67 [diff] |
net: tsec: Use map_physmem() directly instead of dev_remap_addr() dev_remap_addr() eventually calls dev_read_addr_index(), while pdata->iobase holds the return value of dev_read_addr() that calls dev_read_addr_index() too. Such duplication can be avoided by using map_physmem() directly. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>