summaryrefslogtreecommitdiffstats
path: root/drivers/uio
diff options
context:
space:
mode:
authorYazen Ghannam <Yazen.Ghannam@amd.com>2017-01-24 16:32:25 -0600
committerBorislav Petkov <bp@suse.de>2017-01-28 13:08:10 +0100
commit234365f56e75d91c5bd7fbde2b8a9b02851845b8 (patch)
treec276d38f05b75361c2b883ab09a8b5e5b67525c4 /drivers/uio
parent2b9b2c465928260f40e2f570c953881bff291bef (diff)
downloadblackbird-op-linux-234365f56e75d91c5bd7fbde2b8a9b02851845b8.tar.gz
blackbird-op-linux-234365f56e75d91c5bd7fbde2b8a9b02851845b8.zip
EDAC, amd64: Move global code out of instance functions
We have a few functions that register/unregister an ECC error decoding routine. These functions are called when we init/remove instances. However, they are global and so don't need to be registered/unregistered multiple times. So move them out of the init/remove instance functions and into the module init/exit routines. Signed-off-by: Yazen Ghannam <Yazen.Ghannam@amd.com> Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/1485297149-13733-4-git-send-email-Yazen.Ghannam@amd.com Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/uio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud