i7core_edac: Reduce args of i7core_get_onedevice
authorHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Fri, 20 Aug 2010 07:24:31 +0000 (04:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Oct 2010 13:20:38 +0000 (11:20 -0200)
commitb197cba071ec8a171fbaaaf82d119315a6f6cb0b
tree138f70c7214eaab532898aba31c45b72f8104dff
parent45b7c981aeeb456d4b0c04f15d551f3e515bf20e
i7core_edac: Reduce args of i7core_get_onedevice

Since we need to pass the index of the entry, pass the table itself
instead of passing individual members of the table.

While here make it static.

Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/i7core_edac.c