diff options
author | Sergei Antonov <saproj@gmail.com> | 2023-02-03 22:09:03 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-10 13:41:07 -0500 |
commit | 9628c3e8b12d6e64dd649b14770c25b5e8be3b70 (patch) | |
tree | fbe75cfada9dbe216e74a435a3ce80ace7b07adc /lib/tpm_api.c | |
parent | e9a1d8bfc95dd971426fdb6ee951040c9f2bbcea (diff) |
net: ftmac100: simplify priv->iobase casting
Replace 'phys_addr_t iobase' with 'struct ftmac100 *ftmac100' in
struct ftmac100_data. It allows to remove casting in a number of places.
Since priv->iobase is phys_addr_t, use phys_to_virt() to make
a pointer from it.
Signed-off-by: Sergei Antonov <saproj@gmail.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'lib/tpm_api.c')
0 files changed, 0 insertions, 0 deletions