EDAC, mce_amd_inj: Use MCE_INJECT_GET macro for bank node too
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Tue, 2 Jun 2015 20:35:54 +0000 (15:35 -0500)
committerBorislav Petkov <bp@suse.de>
Wed, 3 Jun 2015 14:16:21 +0000 (16:16 +0200)
commite7f2ea1dbec30d607f0017706aa25b77477dd69c
tree09976f33856cdf4cf78e1359ec71a3823870abc7
parent451bb7fbccdc0f5d942227913afa5dea3afd12f7
EDAC, mce_amd_inj: Use MCE_INJECT_GET macro for bank node too

inj_bank_get() is generic enough that we can use the MCE_INJECT_GET
macro instead.

No functionality change.

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: mchehab@osg.samsung.com
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/1433277362-10911-2-git-send-email-Aravind.Gopalakrishnan@amd.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/mce_amd_inj.c