diff options
| author | Geordan Neukum <[email protected]> | 2019-06-05 01:09:12 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-06-06 15:05:02 +0200 |
| commit | fbf476ea29cc7294586dcf0b89f22593458deb0d (patch) | |
| tree | 2795b01e7bf41724dd933f96c22e58603a7dd8ca /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 77a91f4b68b09774ab4608348557efaf262a6428 (diff) | |
staging: kpc2000: kpc_spi: remove unnecessary ulong repr of i/o addr
The kpc_spi driver stashes off an unsigned long representation of the
i/o mapping returned by devm_ioremap_nocache(). This is unnecessary, as
the only use of the unsigned long repr is to eventually be re-cast to
an (u64 __iomem *). Instead of casting the (void __iomem *) to an
(unsigned long) then a (u64 __iomem *), just remove this intermediate
step. As this intermediary is no longer used, also remove it from its
structure.
Signed-off-by: Geordan Neukum <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions