diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-04-16 22:13:55 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-04-23 11:54:42 +0200 |
commit | 2c911f6cac9388830d2afb350d29f43f115b1a28 (patch) | |
tree | 7f5ad9db10bc0c5013a362da2c99825bce95be13 /drivers/dca | |
parent | ARM: socfpga: Enable Arria10 OCRAM ECC on startup (diff) | |
download | linux-2c911f6cac9388830d2afb350d29f43f115b1a28.tar.xz linux-2c911f6cac9388830d2afb350d29f43f115b1a28.zip |
EDAC, altera: Remove useless casts
The altera EDAC driver refers to its per-device data
using a cast to '(void *)', which makes the pointer
non-const, though both the source and destination are
actually const.
Removing the annotation makes the reference (almost)
fit into a single line for improved readability, and
ensures that it is actually defined as const.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: Alan Tull <atull@opensource.altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1460837650-1237650-1-git-send-email-arnd@arndb.de
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions