diff options
author | Geordan Neukum <gneukum1@gmail.com> | 2019-06-05 01:09:13 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-06 15:05:02 +0200 |
commit | 17dcc588d42b3e24a8482c60759201f138700ec0 (patch) | |
tree | 37c8abf08b44e6f224fef51f81749cc0949d35cb /drivers/staging/vc04_services | |
parent | fbf476ea29cc7294586dcf0b89f22593458deb0d (diff) |
staging: kpc2000: kpc_spi: remove unnecessary cast in [read|write]_reg()
The kpc_spi driver unnecessarily casts from a (u64 __iomem *) to a (void
*) when invoking readq and writeq which both take a (void __iomem *) arg.
There is no need for this cast, and it actually harms us by discarding
the sparse cookie, __iomem. Make the driver stop performing this casting
operation.
Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vc04_services')
0 files changed, 0 insertions, 0 deletions