EDAC: Make device_type const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 19 Aug 2017 08:22:12 +0000 (13:52 +0530)
committerBorislav Petkov <bp@suse.de>
Sun, 20 Aug 2017 11:12:32 +0000 (13:12 +0200)
commitb2b3e7362ee7014ad9c40c925a4c27a690dbdd77
treedbf604c75d6ab107a4744aeb9892a3622220b348
parentbc8f10babcc27c1f4d8e80d91cc543eabf9125c4
EDAC: Make device_type const

Make these const as they are only stored in the type field of a device
structure, which is const.

Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1503130946-2854-2-git-send-email-bhumirks@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/edac_mc_sysfs.c
drivers/edac/i7core_edac.c